Unable to create elasticsearch index from neo4j Unable to create elasticsearch index from neo4j elasticsearch elasticsearch

Unable to create elasticsearch index from neo4j


As this is one of the very few page that appears when you search Google for this string, I wanted to post a clear (one that J. Dimeo's answer above alludes to, but is far from specific).

In your graylog config (/etc/graylog/server/server.conf for me), set elasticsearch_discovery_enabled to false, and resart the service.

That's it :)


Are you using AWS ElasticSearch? They do not allow connecting to individual nodes. I read elsewhere (from the AWS team):"Looking over the logs, it seems that 'i.s.c.config.discovery.NodeChecker' is trying to auto discover and connect to the individual nodes of the cluster. Amazon is continuously working hard on improving the service features but unfortunately, at this moment AWS doesn't allow clients to connect to the individual nodes of the cluster. Instead, you can connect using the URL"

You need to turn off node discovery in the Jest client somehow:ClientConfig clientConfig = new ClientConfig.Builder("http://localhost:9200").discoveryEnabled(false)

See https://github.com/searchbox-io/Jest/blob/master/jest/README.md#node-discovery-through-nodes-api