Elasticsearch Search REST API is not running

(Shankar) #1

I have the free version of ELK installation running in a single server. I can search using Kibana at http://my-server:5601/app/kibana.

I can also access the REST API to see the list of indexes (curl request to http://my-server:9200/_cat/indices?v works) . I can access the REST APIs for reindexing. (POST to http://my-server:9200/_reindex works)

But the search API does not work. When I access the Search API http://my-server:9200/_search by GET or POST I just get an error that the end point is not accessible.

Can anyone please tell me what the error here is? Is it possible that I need to enable a configuration to get the search API running? Thanks for reading.

(Mark Walkom) #2

Please post the request and the entire response.

(Shankar) #3

I found the issue. It was a firewall problem. I was able to run this curl command on the server itself, and it gave me results.

curl --header "Content-Type:application/json" -XPOST "http://localhost:9200/_search" -d'
    "query": {
        "match_phrase": {
            "uriParams": "customCallback"

(system) #4

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