Dear All
I'm quite knew to the ELK stack and Kibana in particular. My task is to migrate a bunch of antique Kibana 3 dashboards to Kibana 4.5.4 (Build 10000).
The dashboard looks like this:
As you can see, multiple queries are defined at the top. The first two queries from top left are defined as follows:
The table-like "ALERT" visualization is configured as follows, i.e., it references the first two queries shown above:
Inspecting the ALERT visualization shows this JSON code:
curl -XGET 'http://localhost/elasticsearch-admindev/logstash-2017.12.11/_search?pretty' -d '{
"size": 0,
"query": {
"bool": {
"should": [
{
"query_string": {
"query": "*"
}
}
]
}
},
"aggs": {
"filters": {
"filter": {
"bool": {
"must": [
{
"range": {
"@timestamp": {
"from": 1510395149979,
"to": 1512987149979
}
}
}
]
}
},
"aggs": {
"field": {
"terms": {
"field": "vmw_alert.raw",
"exclude": {
"pattern": []
},
"size": 20,
"order": {
"_count": "desc"
}
}
}
}
}
}
}'
Field "vmw_alert.raw" is used to display the most frequent alert values.
I have difficulties to model this dashboard in Kibana 4.5.4. In particular, I cannot find a solution to migrate the two topN queries shown above and, in a second step, to build the ALERT visualization that utilizes these queries.
Any help is highly appreciated.
Kind regards
Christoph