A range filter on the @timestamp field would probably work. If you inspect
the Kibana query from the histogram panel for example, you can see how it
is done.
{
"query": {
"filtered": {
"filter": {
"range": {
"@timestamp": {
"from": "now-30d",
"to": "now"
}
}
}
}
}
}
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a6ae8662-74bf-4bbc-a643-e4f2b59da32b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.