Hi,
I'm learning the ELK stack to setup a cluster and monitor the same using x-pack plugin. When i dedicately create nodes for different purpose it fails. I'm running all these in one machine with Windows 7 and 8GB of RAM.
With the available the documents in the elastic.co site i made the below configurations for nodes in a cluster.
I've installed x-pack plugin in all the elastic nodes and kibana. The only other change i made to all nodes is jvm.options - [-Xms1g -Xmx1g]
Please help me in resolving the issue. your help is highly appreciated.
Common configurations in all nodes
cluster.name: dev-cluster
network.host: 172.24.5.33
xpack.security.enabled: false
xpack.monitoring.enabled: true
Master Node
http.port: 9200
node.master: true
node.ingest: false
Data node:
node.master: false
node.data: true
node.ingest: false
http.port: 9201
Client Node:
node.master: false
node.data: false
node.ingest: false
http.port: 9205
I've one another node (running in 9202 port) that has only the common config mentioned above. Kibana points to the client node. Because of the below errors its status is red.
Error 1: In Master Node
... 4 more
2017-01-31T19:23:51,324][ERROR][o.e.x.m.AgentService ] [node-master] exception when exporting documents
rg.elasticsearch.xpack.monitoring.exporter.ExportException: failed to flush export bulks
at org.elasticsearch.xpack.monitoring.exporter.ExportBulk$Compound.doFlush(ExportBulk.java:148) ~[x-pack-5.0.0.jar:5.0.0]
at org.elasticsearch.xpack.monitoring.exporter.ExportBulk.close(ExportBulk.java:77) ~[x-pack-5.0.0.jar:5.0.0]
at org.elasticsearch.xpack.monitoring.exporter.Exporters.export(Exporters.java:194) ~[x-pack-5.0.0.jar:5.0.0]
at org.elasticsearch.xpack.monitoring.AgentService$ExportingWorker.run(AgentService.java:208) [x-pack-5.0.0.jar:5.0.0]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
aused by: org.elasticsearch.xpack.monitoring.exporter.ExportException: failed to flush export bulk [default_local]
at org.elasticsearch.xpack.monitoring.exporter.local.LocalBulk.doFlush(LocalBulk.java:114) ~[?:?]
at org.elasticsearch.xpack.monitoring.exporter.ExportBulk.flush(ExportBulk.java:62) ~[?:?]
at org.elasticsearch.xpack.monitoring.exporter.ExportBulk$Compound.doFlush(ExportBulk.java:145) ~[?:?]
... 4 more
aused by: java.lang.IllegalStateException: There are no ingest nodes in this cluster, unable to forward request to an ingest node.
at org.elasticsearch.action.ingest.IngestProxyActionFilter.randomIngestNode(IngestProxyActionFilter.java:104) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.action.ingest.IngestProxyActionFilter.forwardIngestRequest(IngestProxyActionFilter.java:86) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.action.ingest.IngestProxyActionFilter.apply(IngestProxyActionFilter.java:73) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:180) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:153) ~[elasticsearch-5.0.0.jar:5.0.0]
Error 2: In client node
[2017-01-31T19:25:31,071][INFO ][o.e.x.m.e.Exporters ] [node-client] skipping exporter [default_local] as it isn't ready yet
[2017-01-31T19:25:31,072][ERROR][o.e.x.m.AgentService ] [node-client] exception when exporting documents
org.elasticsearch.xpack.monitoring.exporter.ExportException: exporters are either not ready or faulty
at org.elasticsearch.xpack.monitoring.exporter.Exporters.export(Exporters.java:188) ~[x-pack-5.0.0.jar:5.0.0]
at org.elasticsearch.xpack.monitoring.AgentService$ExportingWorker.run(AgentService.java:208) [x-pack-5.0.0.jar:5.0.0]
Error 3: In data node
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
[2017-01-31T19:39:01,607][INFO ][o.e.x.m.e.Exporters ] [node-data] skipping exporter [default_local] as it isn't ready yet
[2017-01-31T19:39:01,608][ERROR][o.e.x.m.AgentService ] [node-data] exception when exporting documents
org.elasticsearch.xpack.monitoring.exporter.ExportException: exporters are either not ready or faulty
at org.elasticsearch.xpack.monitoring.exporter.Exporters.export(Exporters.java:188) ~[x-pack-5.0.0.jar:5.0.0]
at org.elasticsearch.xpack.monitoring.AgentService$ExportingWorker.run(AgentService.java:208) [x-pack-5.0.0.jar:5.0.0]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]