Kibana query: average value


(Sid) #1

Hi!

I am looking for a way to create a query in kibana like this: if some field's average value (let's say for the last week) is higher than some threshold. Unfortunately it can not be done with the standard filters or scripted fields because I need to run query based on this field.
Any ideas will be helpful!

Thanks,
Alexey


(Bhavya R M) #2

Hi,

You can use timelion for this. But it really depends on what are you trying to do with your query. Are you looking to create an alert? in which case you will need watcher.

This is a easy to follow timelion tutorial: https://www.elastic.co/blog/timelion-tutorial-from-zero-to-hero

Thanks,
Bhavya


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.