Store a query in elasticsearch and call it from kibana

Hi Everybody,

I am looking for a way to make a type of queries like "Select field1, count (field2), field 3, ... From XXX.. Group by field1, ....ZZZZ

Goal : using this query to elaborate dashboard Kibana.

I thought to do things like this:

  • Create this query in Elasticsearch
  • Store the query in Elasticsearch
  • Use the query from Kibana.

I have two questions:
1 - Is this the right way to meet my needs?
2 - If yes, I searched :
2.1 A way to store a query in elasticsearch and
2.2 call this ES query from Kibana.

You can't currently do this.

Thanks Mark.

Could you tell me if you have a suggestion of the best way to do ... I try to make maximum use ES and Kibana rather than an external tool (vs ETL).