On the Discover page of Kibana, choose Share > Data Export in the upper right corner, and select Export CSV.

Wait for a few minutes. Then click Download csv in the lower right corner to download the data to the local PC.

In SQL Workbench of Kibana, you can run Elasticsearch SQL statements to query data or click Download to export data. You can export 1 to 200 records. By default, 200 records are exported.
