Reputation: 41
Kibana has dev tool. Where we can run the query and generate the output. How to visualise that query output in kibana dashboards ?
see this question for further explanation.
Upvotes: 0
Views: 853
Reputation: 3512
Your question seems a bit broad. Let me skip some details and give you a general idea.
In Kibana Dev Tools, you can run a query like below.
GET /bank/_search
{
"size": 0,
"aggs": {
"group_by_state": {
"terms": {
"field": "state.keyword"
}
}
}
}
And you will see results in your Console like this :
In order to visualize it in your dashboard, first you need to create one visualization type in Visualize tab, and create your dashboard with it.
I made a pie chart, but not with the query above. But I use the same logic. You can see how I did it below.
Lastly, I created a dashboard and add the Visualization.
You can watch tutorial videos on how to create Visualization and Dashboard. When you run into another question as you learn, you can ask here anytime on Stack Overflow.
Upvotes: 1