graylog server version 2.2.2 in centos 7
develop environment
window 7
eclipse neo
I download this example function from below link
https://github.com/graylog-labs/graylog-example-plugin-function-strlen
in the pom.xml i changed all graylog version to 2.2.2 and excecute maven install
then copy the graylog-plugin-function-strlen-2.2.2.jar to graylog server/plugin directory and start
but the graylog webinterface can’t open, and it seems that there is no errors in logs
it seems always load the plugins from the below logs
Thanks so much for your help!
2017-04-06T17:08:43.925+08:00 INFO [CmdLineTool] Loaded plugin: String length pipeline function 2.2.2 [com.example.plugins.strlen.StringLengthFunctionPlugin]
2017-04-06T17:08:43.926+08:00 INFO [CmdLineTool] Loaded plugin: Aggregates 0.0.14 [org.graylog.plugins.aggregates.AggregatesPlugin]
2017-04-06T17:08:43.927+08:00 INFO [CmdLineTool] Loaded plugin: Elastic Beats Input 2.2.2 [org.graylog.plugins.beats.BeatsInputPlugin]
2017-04-06T17:08:43.928+08:00 INFO [CmdLineTool] Loaded plugin: Collector 2.2.2 [org.graylog.plugins.collector.CollectorPlugin]
2017-04-06T17:08:43.929+08:00 INFO [CmdLineTool] Loaded plugin: Enterprise Integration Plugin 2.2.2 [org.graylog.plugins.enterprise_integration.EnterpriseIntegrationPlugin]
2017-04-06T17:08:43.929+08:00 INFO [CmdLineTool] Loaded plugin: MapWidgetPlugin 2.2.2 [org.graylog.plugins.map.MapWidgetPlugin]
2017-04-06T17:08:43.938+08:00 INFO [CmdLineTool] Loaded plugin: Pipeline Processor Plugin 2.2.2 [org.graylog.plugins.pipelineprocessor.ProcessorPlugin]
2017-04-06T17:08:43.939+08:00 INFO [CmdLineTool] Loaded plugin: Anonymous Usage Statistics 2.2.2 [org.graylog.plugins.usagestatistics.UsageStatsPlugin]
2017-04-06T17:08:44.145+08:00 INFO [CmdLineTool] Running with JVM arguments: -Xms1g -Xmx1g -XX:NewRatio=1 -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow -Dlog4j.configurationFile=file:///etc/graylog/server/log4j2.xml -Djava.library.path=/usr/share/graylog-server/lib/sigar -Dgraylog2.installation_source=rpm
2017-04-06T17:08:44.348+08:00 INFO [Version] HV000001: Hibernate Validator null
2017-04-06T17:08:57.948+08:00 INFO [CmdLineTool] Loaded plugin: String length pipeline function 2.2.2 [com.example.plugins.strlen.StringLengthFunctionPlugin]
2017-04-06T17:08:57.950+08:00 INFO [CmdLineTool] Loaded plugin: Aggregates 0.0.14 [org.graylog.plugins.aggregates.AggregatesPlugin]
2017-04-06T17:08:57.951+08:00 INFO [CmdLineTool] Loaded plugin: Elastic Beats Input 2.2.2 [org.graylog.plugins.beats.BeatsInputPlugin]
2017-04-06T17:08:57.952+08:00 INFO [CmdLineTool] Loaded plugin: Collector 2.2.2 [org.graylog.plugins.collector.CollectorPlugin]
2017-04-06T17:08:57.953+08:00 INFO [CmdLineTool] Loaded plugin: Enterprise Integration Plugin 2.2.2 [org.graylog.plugins.enterprise_integration.EnterpriseIntegrationPlugin]
2017-04-06T17:08:57.954+08:00 INFO [CmdLineTool] Loaded plugin: MapWidgetPlugin 2.2.2 [org.graylog.plugins.map.MapWidgetPlugin]
2017-04-06T17:08:57.965+08:00 INFO [CmdLineTool] Loaded plugin: Pipeline Processor Plugin 2.2.2 [org.graylog.plugins.pipelineprocessor.ProcessorPlugin]
2017-04-06T17:08:57.966+08:00 INFO [CmdLineTool] Loaded plugin: Anonymous Usage Statistics 2.2.2 [org.graylog.plugins.usagestatistics.UsageStatsPlugin]
2017-04-06T17:08:58.180+08:00 INFO [CmdLineTool] Running with JVM arguments: -Xms1g -Xmx1g -XX:NewRatio=1 -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow -Dlog4j.configurationFile=file:///etc/graylog/server/log4j2.xml -Djava.library.path=/usr/share/graylog-server/lib/sigar -Dgraylog2.installation_source=rpm
2017-04-06T17:08:58.382+08:00 INFO [Version] HV000001: Hibernate Validator null
2017-04-06T17:09:11.940+08:00 INFO [CmdLineTool] Loaded plugin: String length pipeline function 2.2.2 [com.example.plugins.strlen.StringLengthFunctionPlugin]
2017-04-06T17:09:11.942+08:00 INFO [CmdLineTool] Loaded plugin: Aggregates 0.0.14 [org.graylog.plugins.aggregates.AggregatesPlugin]
2017-04-06T17:09:11.942+08:00 INFO [CmdLineTool] Loaded plugin: Elastic Beats Input 2.2.2 [org.graylog.plugins.beats.BeatsInputPlugin]
2017-04-06T17:09:11.943+08:00 INFO [CmdLineTool] Loaded plugin: Collector 2.2.2 [org.graylog.plugins.collector.CollectorPlugin]
2017-04-06T17:09:11.944+08:00 INFO [CmdLineTool] Loaded plugin: Enterprise Integration Plugin 2.2.2 [org.graylog.plugins.enterprise_integration.EnterpriseIntegrationPlugin]
2017-04-06T17:09:11.945+08:00 INFO [CmdLineTool] Loaded plugin: MapWidgetPlugin 2.2.2 [org.graylog.plugins.map.MapWidgetPlugin]
2017-04-06T17:09:11.953+08:00 INFO [CmdLineTool] Loaded plugin: Pipeline Processor Plugin 2.2.2 [org.graylog.plugins.pipelineprocessor.ProcessorPlugin]
2017-04-06T17:09:11.954+08:00 INFO [CmdLineTool] Loaded plugin: Anonymous Usage Statistics 2.2.2 [org.graylog.plugins.usagestatistics.UsageStatsPlugin]
2017-04-06T17:09:12.157+08:00 INFO [CmdLineTool] Running with JVM arguments: -Xms1g -Xmx1g -XX:NewRatio=1 -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow -Dlog4j.configurationFile=file:///etc/graylog/server/log4j2.xml -Djava.library.path=/usr/share/graylog-server/lib/sigar -Dgraylog2.installation_source=rpm
2017-04-06T17:09:12.354+08:00 INFO [Version] HV000001: Hibernate Validator null
2017-04-06T17:09:25.954+08:00 INFO [CmdLineTool] Loaded plugin: String length pipeline function 2.2.2 [com.example.plugins.strlen.StringLengthFunctionPlugin]
2017-04-06T17:09:25.956+08:00 INFO [CmdLineTool] Loaded plugin: Aggregates 0.0.14 [org.graylog.plugins.aggregates.AggregatesPlugin]
2017-04-06T17:09:25.957+08:00 INFO [CmdLineTool] Loaded plugin: Elastic Beats Input 2.2.2 [org.graylog.plugins.beats.BeatsInputPlugin]
2017-04-06T17:09:25.957+08:00 INFO [CmdLineTool] Loaded plugin: Collector 2.2.2 [org.graylog.plugins.collector.CollectorPlugin]
2017-04-06T17:09:25.958+08:00 INFO [CmdLineTool] Loaded plugin: Enterprise Integration Plugin 2.2.2 [org.graylog.plugins.enterprise_integration.EnterpriseIntegrationPlugin]
2017-04-06T17:09:25.959+08:00 INFO [CmdLineTool] Loaded plugin: MapWidgetPlugin 2.2.2 [org.graylog.plugins.map.MapWidgetPlugin]
2017-04-06T17:09:25.968+08:00 INFO [CmdLineTool] Loaded plugin: Pipeline Processor Plugin 2.2.2 [org.graylog.plugins.pipelineprocessor.ProcessorPlugin]
2017-04-06T17:09:25.969+08:00 INFO [CmdLineTool] Loaded plugin: Anonymous Usage Statistics 2.2.2 [org.graylog.plugins.usagestatistics.UsageStatsPlugin]
2017-04-06T17:09:26.197+08:00 INFO [CmdLineTool] Running with JVM arguments: -Xms1g -Xmx1g -XX:NewRatio=1 -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow -Dlog4j.configurationFile=file:///etc/graylog/server/log4j2.xml -Djava.library.path=/usr/share/graylog-server/lib/sigar -Dgraylog2.installation_source=rpm
2017-04-06T17:09:26.408+08:00 INFO [Version] HV000001: Hibernate Validator null
2017-04-06T17:09:40.043+08:00 INFO [CmdLineTool] Loaded plugin: String length pipeline function 2.2.2 [com.example.plugins.strlen.StringLengthFunctionPlugin]
2017-04-06T17:09:40.045+08:00 INFO [CmdLineTool] Loaded plugin: Aggregates 0.0.14 [org.graylog.plugins.aggregates.AggregatesPlugin]
2017-04-06T17:09:40.046+08:00 INFO [CmdLineTool] Loaded plugin: Elastic Beats Input 2.2.2 [org.graylog.plugins.beats.BeatsInputPlugin]
2017-04-06T17:09:40.047+08:00 INFO [CmdLineTool] Loaded plugin: Collector 2.2.2 [org.graylog.plugins.collector.CollectorPlugin]
2017-04-06T17:09:40.048+08:00 INFO [CmdLineTool] Loaded plugin: Enterprise Integration Plugin 2.2.2 [org.graylog.plugins.enterprise_integration.EnterpriseIntegrationPlugin]
2017-04-06T17:09:40.049+08:00 INFO [CmdLineTool] Loaded plugin: MapWidgetPlugin 2.2.2 [org.graylog.plugins.map.MapWidgetPlugin]
2017-04-06T17:09:40.061+08:00 INFO [CmdLineTool] Loaded plugin: Pipeline Processor Plugin 2.2.2 [org.graylog.plugins.pipelineprocessor.ProcessorPlugin]