I've got a very basic question. What is the URL to query my indexes? I use elastic cloud services.
GET https://unique_url_key_9sdf9asdf9.europe-west3.gcp.cloud.es.io:9243/message_*
I get the following message:
{
"statusCode": 404,
"error": "Not Found",
"message": "Not Found"
}
I've looked into Index APIs | Elasticsearch Guide [7.12] | Elastic but without success.
see this page: Search API | Elasticsearch Guide [7.12] | Elastic
if your cluster is at https://unique_url_key_9sdf9asdf9.europe-west3.gcp.cloud.es.io:9243
and your data is in an index matched by message*
GET https://unique_url_key_9sdf9asdf9.europe-west3.gcp.cloud.es.io:9243/message*/_search
you will need to provide authentication (user/password or token) with your request
It was not clear for me the url key from Kibana is different from elasticsearch. For people having the same problem in the future;
GET /
Run get / in the developer tool in Kibana to get the es key.
Glad you got it working.
Correct, Elasticsearch is the datastore, and Kibana is the frontend. Kibana's Dev Tools allows you to make REST calls to Elasticsearch, e.g.
GET /
GET /my-index/_search
etc.
system
(system)
Closed
May 2, 2021, 3:36am
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.