Reputation: 5401
I'm using Kibana on top of logstash and I want to filter items in the index to today, or the last 24 hours is fine too.
So apparently this requires me to run a range query against the underlying ElasticSearch engine that would look like:
"range" : {
"timestamp" : {
"gte": "now-24h",
"lte": "now",
}
}
However - I can't put that in the filter box in Kibana 3:
This is a numeric range query and it doesn't work - but it shows the input box and the idea.
So my question: how can I create a filter that filters the events to a date range in Kibana 3?
Upvotes: 3
Views: 9643
Reputation: 5401
Found it, it's in the top menu:
Clicking it generates the range filter as can be seen as the 2nd filter on the left.
Upvotes: 4