Elasticsearch

Download 71
Last updated Aug 24, 2023

elastic-search

Get search results from Elasticsearch.

elastic-search [profile=PROFILE] index=INDEX q=Q dsl=DSL
profile=PROFILE
Elasticsearch connect profile code
index=INDEX
Comma separated names. You can use wildcard.
q=Q
e.g. +linux and +request:tyurin
dsl=DSL
e.g. {"query":{"bool":{"must":{"match":{"request":"tyurin"}}}}}

Output Fields

FieldTypeNameDescription
_profileStringConnect profilee.g. elastic
_indexStringIndex namee.g. kibana_sample_data_logs
_doc_idStringDoc IDe.g. lDuwgYkBoviu6BaqY9S-
_scoreDoubleScoree.g. 8.165291