So I am trying to be able to access information about an object in elasticsearch, when I already have it's unique ID. Here is the current query that I have:
curl -XGET 'localhost:9200/packetbeat-2017.03.23/AVr8l8YfyH-VqZ9J_0HZ?pretty'
This is the response that I get from it:
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "No endpoint or operation is available at [AVr8l8YfyH-VqZ9J_0HZ]"
}
],
"type" : "illegal_argument_exception",
"reason" : "No endpoint or operation is available at [AVr8l8YfyH-VqZ9J_0HZ]"
},
"status" : 400
}
I know that this index and this ID both exist, any ideas on how to do this?