# Date range issue

**URL:** <https://discuss.elastic.co/t/date-range-issue/157531>\
**Category:** Kibana\
**Created:** [November 20, 2018, 11:54am UTC](https://discuss.elastic.co/t/date-range-issue/157531 "2018-11-20T11:54:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wheelq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wheelq/32/35893_2.png) [@wheelq](https://discuss.elastic.co/u/wheelq)\
**Post date:** [November 20, 2018, 11:54am UTC](https://discuss.elastic.co/t/date-range-issue/157531/1 "2018-11-20T11:54:18Z")

</div>

I have selected a Data Range and set it with the following date format:

From: now-30d  
To: now

But for some reason the X-axis shows more dates than requested.  
My index doesn't have timestamp defined, so the date filter (the one in Kibanba's upper right corner) doesn't apply here.

Please see the screenshot attached

 ![19](https://us1.discourse-cdn.com/elastic/original/3X/8/f/8f4232526edef5fa18416f41bd1a572dc4d72a90.jpeg)

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [November 21, 2018, 2:20am UTC](https://discuss.elastic.co/t/date-range-issue/157531/2 "2018-11-21T02:20:42Z")

</div>

Hmm, can you take a screenshot of your bucket aggregations?

---

<div class="post-metadata">

**Author:** ![wheelq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wheelq/32/35893_2.png) [@wheelq](https://discuss.elastic.co/u/wheelq)\
**Post date:** [November 21, 2018, 10:21am UTC](https://discuss.elastic.co/t/date-range-issue/157531/3 "2018-11-21T10:21:25Z")

</div>

Sure, attached.  
Split series -\> Date Range (now-30d)  
X-Axis -\> Date Histogram, Interval -\> Daily

 ![unnamed](https://us1.discourse-cdn.com/elastic/original/3X/f/a/faadf4760f2bd01354719f1bec56b048e12cef5b.png)

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [November 21, 2018, 1:49pm UTC](https://discuss.elastic.co/t/date-range-issue/157531/4 "2018-11-21T13:49:50Z")

</div>

The dates at the bottom of the chart are from the "X-Axis -\> Date Histogram" aggregation, and the purple series, the one described by the legend, is from the "Split series -\> Date Range" aggregation. If your index doesn't have timestamp defined how are you creating a date histogram for the x-axis?

---

<div class="post-metadata">

**Author:** ![wheelq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wheelq/32/35893_2.png) [@wheelq](https://discuss.elastic.co/u/wheelq)\
**Post date:** [November 21, 2018, 4:38pm UTC](https://discuss.elastic.co/t/date-range-issue/157531/5 "2018-11-21T16:38:52Z")

</div>

Using the date range field which has got a timestamp

---

<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:** [December 19, 2018, 4:38pm UTC](https://discuss.elastic.co/t/date-range-issue/157531/6 "2018-12-19T16:38:57Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
