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.