_search end point not available in Elasticsearch

I have an index in my Elasticsearch version 6.4.2. I was able to view the index by calling http://:9200/logstash-2018.12.20.

I can see that this index has a mapping of "doc" entities.

 "mappings": {
            "doc": {.........

But when I try to search in this index using this end point GET http://:9200/logstash-2018.12.20/doc/_search, I just get an error "Could not get any response. There was an error connecting.."

Is there a setting I need to verify? What can i do to fix this? Thanks.

This is a duplicate of Elasticsearch Search REST API is not running

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