After i installed the x-pack ,then start the elsticsearch , occurred the following issue:
[ERROR][o.e.x.m.c.n.NodeStatsCollector] [-YrbNj-] collector [node-stats-collector] failed to collect data
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657) ~[?:1.8.0_221]
at java.util.ArrayList.get(ArrayList.java:433) ~[?:1.8.0_221]
at org.elasticsearch.xpack.monitoring.collector.node.NodeStatsCollector.doCollect(NodeStatsCollector.java:73) ~[x-pack-5.2.2.jar:5.2.2]
at org.elasticsearch.xpack.monitoring.collector.Collector.collect(Collector.java:83) [x-pack-5.2.2.jar:5.2.2]
at org.elasticsearch.xpack.monitoring.AgentService$ExportingWorker.collect(AgentService.java:226) [x-pack-5.2.2.jar:5.2.2]
at org.elasticsearch.xpack.monitoring.AgentService$ExportingWorker.run(AgentService.java:193) [x-pack-5.2.2.jar:5.2.2]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221]
In your /etc/elasticsearch/elasticsearch.yml
do you have action.auto_index_creation: .monitoring*
Although I'm not sure that's the issue here.
1 Like
Thanks a lot. It works!
1 Like
Nice!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.