Automate Kibana query

Hello Community,

I want to use some REST API so that I will be able to automate long list of queries that should be created with the same pattern at the end.
For example:
<WORD1> AND message: <SAME_CONSTANT_WORD_THAT_DON'T_CHANGE>

I have a list of 500 queries that should be created. So, how to acheive it in Kibana in an automated way ?

Regards,
Baseely

You can automate something to query Kibana to run these, yes. Any language that can talk HTTP should be able to do this for you.

Thanks @warkolm for your feedback. Actually I'm looking for the query API in Kibana (if exists) - something like GET _someKibanaApi/ endpoint.

Have you seen REST API | Kibana Guide [8.4] | Elastic?

However Kibana uses the Elasticsearch APIs to run queries to get the data it needs, so it really depends what you want to do.