+ );
+ },
+});
+
+export default LoggingAlertConfig;
+
diff --git a/src/web/index.jsx b/src/web/index.jsx
new file mode 100755
index 0000000..9030bee
--- /dev/null
+++ b/src/web/index.jsx
@@ -0,0 +1,12 @@
+import packageJson from '../../package.json';
+import { PluginManifest, PluginStore } from 'graylog-web-plugin/plugin';
+import LoggingAlertConfig from 'components/LoggingAlertConfig';
+
+PluginStore.register(new PluginManifest(packageJson, {
+ systemConfigurations: [
+ {
+ component: LoggingAlertConfig,
+ configType: 'com.airbus_cyber_security.graylog.config.LoggingAlertConfig',
+ },
+ ],
+}));
diff --git a/webpack.config.js b/webpack.config.js
new file mode 100755
index 0000000..eac11b1
--- /dev/null
+++ b/webpack.config.js
@@ -0,0 +1,8 @@
+const PluginWebpackConfig = require('graylog-web-plugin').PluginWebpackConfig;
+const loadBuildConfig = require('graylog-web-plugin').loadBuildConfig;
+const path = require('path');
+
+// Remember to use the same name here and in `getUniqueId()` in the java MetaData class
+module.exports = new PluginWebpackConfig('com.airbus_cyber_security.graylog.LoggingAlertPlugin', loadBuildConfig(path.resolve(__dirname, './build.config')), {
+ // Here goes your additional webpack configuration.
+});