How to fetch the data from elasticsearch in query

Hi,
i want to create a query to fetch the data from elasticsearch in csv can any one help me with the query.
thanks.

Usually the kibana reporting feature is the way to do that so I've updated this post to go into that topic.

Reporting and sharing | Kibana Guide [8.3] | Elastic has information on how to use it.

Sir, i don't want to export data using this feature, I want to export using a query

Queries will return data in JSON form, not CSV, so you will need to create a script to run the query and handle the conversion.

1 Like

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