-
I'm trying to create a spike aggregation down rule for the last 30 minutes period compared to the respective period on the previous day. I wrote a filter to filter out everything except those two 30 minutes periods, which if I understand correctly, should allow me to compare them when the current and reference windows are 1 day long. The query works, and I do see hits in the log, but no matches. I’m also getting results for the buckets when running in Elasticsearch, and I can see the difference when comparing the time windows in Elasticsearch. I’ve tried both up and down spikes, none of them match (even after decreasing the spike height to a very small size) I've turned on the debug log - the two queries that appear for each run of the rule look identical, including the range filter. Any help would be appreciated.
possibly Relevant config.yaml settings:
query as it appears in the log:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
What does the response look like for this type of query? I've not tried to use both a range filter and then also query filter that also does a time based filter, so I'm curious how your ES server is handling this. I tried it on one of my servers and got shard errors. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I see that. Perhaps the code was changed later and no one updated the docs.