How to set up for use in Fantastic ElasticSearch

I'm new to Elastic search and I'm struggling to get my Wordpress Fantastic ElasticSearch plugin to connect to the Elastic Server. I have added my https End Point when asked for Server URL but get error 'Couldn't connect to host, Elasticsearch down?'

There is another field to add Index Name and I've tried a number of options but this has not made a difference.

I would have thought I'd put a password in somewhere? What am I missing?

You probably won't get help with the plugin here unfortunately.

But are you sure ES is running, can you curl IP:9200 and get a response?

Is it my HTTPS Endpoint I am meant to curl to check if ES is running? I did run this from a Git Bash and get

{"error":{"root_cause":[{"type":"security_exception","reason":"action [cluster:monitor/main] requires authentication","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}}],"type":"security_exception","reason":"action [cluster:monitor/main] requires authentication","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}},"status":401}

Do I need to configure security? This suggests my plugin is getting the same response and is why it isn't working for me.


I have found and edited Anonymous user and given full permissions and now no longer get the security error. Is there anything else I need to configure to give my anonymous WP plugin access to the ES as I still get errors?

$ curl
  "name" : "instance-0000000000",
  "cluster_name" : "MYCLUSTERNAME",
  "cluster_uuid" : "MYCLUSTERNAMEUUID",
  "version" : {
    "number" : "5.2.0",
    "build_hash" : "24e05b9",
    "build_date" : "2017-01-24T19:52:35.800Z",
    "build_snapshot" : false,
    "lucene_version" : "6.4.0"
  "tagline" : "You Know, for Search"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.