Run remote KQL query

Hi,

We have some saved searches written using Kibana Query Language in Kibana. Now we have an idea to automatize the process of getting data. Idea is to create some bash scripts and using curl to run saved queries in Kibana. We have 8.5 version of elasticsearch and kibana.

My question is this possible because I didn’t find anything useful in Kibana API?

BR,
Mladen

As you guessed, Kibana API does not expose a way to execute a saved search.

On the other hand, the reporting feature in Kibana allows to generate a POST URL that allows to produce a CSV export to be downloaded in a second call.

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