This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
Enable use of date math in Monitor index names / patterns #125
Labels
enhancement
New feature or request
Is your feature request related to a problem? Please describe.
I'd like to narrow the amount of data that is searched by our monitors by limiting them to only indexes created in the last few days. I use logstash and thus they're in the format logstash-YYYY.MM.DD.
With a search query, I can use the angle brackets and select indexes1 like today's <logstash-{now/d}> and yesterday's <logstash-{now-1d/d}>.
However if I try this in Kibana when creating a monitor, it won't accept the angle brackets.
Describe the solution you'd like
As per the linked article.
Describe alternatives you've considered
I've considered programmatically updating the monitors every day to only contain today's index name.
Additional context
N/A
The text was updated successfully, but these errors were encountered: