How to use Kibana to run ES query?


(Kennedy Kan) #1

I have a query which is able to run in Elasticsearch following something similar to https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-movavg-aggregation.html#_prediction

GET linux_cpu*/_search?search_type=count
{
"aggs": {
"my_date_histo": {
"date_histogram": {
"field": "@timestamp",
"interval": "day"
},
"aggs": {
"the_sum": {
"avg": {
"field": "CPU(%)"
}
},
"the_movavg": {
"moving_avg": {
"bucketsPath": "the_sum",
"window": 90,
"model": "holt_winters",
"settings": {
"type": "add",
"alpha": 0.8,
"beta": 0.2,
"gamma": 0.7,
"period": 30
},
"predict": 30
}
}
}
}
}
}

However, as also seen from the post, there are some graphs that can be generated. However, I have no idea how to do that. Is there anyone that could help?

Great thanks in advace.


(Mark Walkom) #2

Please stop posting multiple threads on the same topic.

See How to use Kibana to run Elasticsearch query?


(Mark Walkom) #3