# Lucene Date Range Query in Kibana

**URL:** <https://discuss.elastic.co/t/lucene-date-range-query-in-kibana/17284>\
**Category:** Elasticsearch\
**Created:** [April 30, 2014, 3:37pm UTC](https://discuss.elastic.co/t/lucene-date-range-query-in-kibana/17284 "2014-04-30T15:37:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uli\_Bethke](https://avatars.discourse-cdn.com/v4/letter/u/a183cd/32.png) [@Uli\_Bethke](https://discuss.elastic.co/u/Uli_Bethke)\
**Post date:** [April 30, 2014, 3:37pm UTC](https://discuss.elastic.co/t/lucene-date-range-query-in-kibana/17284/1 "2014-04-30T15:37:33Z")

</div>

Is there a way in Kibana or Lucene to define a date range query as Today-60  
days.

Something along the logical lines of visit\_date: [\*-60 TO \*]

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/121e135e-e12f-417c-879f-36e877ec0d98%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/121e135e-e12f-417c-879f-36e877ec0d98%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ramdev\_Wudali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramdev_wudali/32/7894_2.png) [@Ramdev\_Wudali](https://discuss.elastic.co/u/Ramdev_Wudali)\
**Post date:** [April 30, 2014, 6:58pm UTC](https://discuss.elastic.co/t/lucene-date-range-query-in-kibana/17284/2 "2014-04-30T18:58:22Z")

</div>

Lucene and hence Elasticsearch and hence Kibana allows for date range to  
be queries as [NOW-60DAY TO NOW] similar to what you said.

On Wednesday, 30 April 2014 10:37:33 UTC-5, Uli Bethke wrote:

> Is there a way in Kibana or Lucene to define a date range query as  
> Today-60 days.
> 
> Something along the logical lines of visit\_date: [\*-60 TO \*]

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1cb787e8-f7c2-4520-9cf1-4098c15d95de%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1cb787e8-f7c2-4520-9cf1-4098c15d95de%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:32am UTC](https://discuss.elastic.co/t/lucene-date-range-query-in-kibana/17284/3 "2017-07-06T01:32:24Z")

</div>


