Skip to content

HOWTO get a specific doc in elasticsearch

Why do that

  • search a document with a given identifier (id)
  • extract specific logs

What to do

From the operator or elasticsearch devices, type:

1
$ curl <es_url>:9200/<indices>/<type>/<id>