# How can I have "auto" interval option for all the date type fields

**URL:** <https://discuss.elastic.co/t/how-can-i-have-auto-interval-option-for-all-the-date-type-fields/39484>\
**Category:** Kibana\
**Created:** [January 18, 2016, 9:03pm UTC](https://discuss.elastic.co/t/how-can-i-have-auto-interval-option-for-all-the-date-type-fields/39484 "2016-01-18T21:03:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharon.c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sharon.c/32/16076_2.png) [@sharon.c](https://discuss.elastic.co/u/sharon.c)\
**Post date:** [January 18, 2016, 9:03pm UTC](https://discuss.elastic.co/t/how-can-i-have-auto-interval-option-for-all-the-date-type-fields/39484/1 "2016-01-18T21:03:48Z")

</div>

I am using Kibana 4.0.1. I noticed that when I generate Date Histogram, the chosen date type fields common interval values only have the options like minutes, hourly, daily, etc.  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/7/7659f748a43cf2fa96594b7ef6176a5e93f4b987.png)

But when I choose the date type field as "Time-field" in the step of "setting" -\> "Configure an index pattern", then I have the choice of "auto" interval for this field.

![](https://us1.discourse-cdn.com/elastic/original/2X/a/affd654281fdd75713fe56cbbc6e4a9a79379d5c.png)

![](https://us1.discourse-cdn.com/elastic/original/2X/2/2932c893b4a0d12f0f164b88761f19ddf7575bc5.png)

How can I have "auto" option for all the date type fields?

---

<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:** [January 18, 2016, 10:37pm UTC](https://discuss.elastic.co/t/how-can-i-have-auto-interval-option-for-all-the-date-type-fields/39484/2 "2016-01-18T22:37:42Z")

</div>

Unfortunately that's not possible. The "auto" interval works by analyzing the time range that we expect to find data. This is currently done by looking at the timefilter and saying "the time filter covers 10 hours, so we should use a 15 minute interval". The other time fields in your index pattern are not being filtered though, and should represent a totally different time range, so we can't auto bucket.

---

<div class="post-metadata">

**Author:** ![sharon.c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sharon.c/32/16076_2.png) [@sharon.c](https://discuss.elastic.co/u/sharon.c)\
**Post date:** [January 18, 2016, 10:39pm UTC](https://discuss.elastic.co/t/how-can-i-have-auto-interval-option-for-all-the-date-type-fields/39484/3 "2016-01-18T22:39:38Z")

</div>

Thank you for prompt reply.

---

<div class="post-metadata">

**Author:** ![sharon.c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sharon.c/32/16076_2.png) [@sharon.c](https://discuss.elastic.co/u/sharon.c)\
**Post date:** [January 24, 2016, 5:31pm UTC](https://discuss.elastic.co/t/how-can-i-have-auto-interval-option-for-all-the-date-type-fields/39484/4 "2016-01-24T17:31:43Z")

</div>

Is it possible to use time filter for multiple date type fields?

---

<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:** [January 26, 2016, 3:32pm UTC](https://discuss.elastic.co/t/how-can-i-have-auto-interval-option-for-all-the-date-type-fields/39484/5 "2016-01-26T15:32:29Z")

</div>

unfortunately it is not

---

<div class="post-metadata">

**Author:** ![Jakauppila](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jakauppila/32/44935_2.png) [@Jakauppila](https://discuss.elastic.co/u/Jakauppila)\
**Post date:** [May 25, 2016, 7:07pm UTC](https://discuss.elastic.co/t/how-can-i-have-auto-interval-option-for-all-the-date-type-fields/39484/6 "2016-05-25T19:07:34Z")

</div>

So with my log data, I add date fields that contain the time when they were shipped, routed to the correct queue within RabbitMQ, and indexed. I want to create a line chart visualization that displays the total # of events and then split lines for the shipped/routed/indexed times.

Would it not be possible to specify 'Auto' interval for the @timestamp field, and have the split line sub-buckets inherit the interval that it defines for itself?

 ![](https://us1.discourse-cdn.com/elastic/original/2X/6/608d734e7bb6886ee68b11af8a14ea2e527be829.png)

---

<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:52pm UTC](https://discuss.elastic.co/t/how-can-i-have-auto-interval-option-for-all-the-date-type-fields/39484/7 "2017-07-06T13:52:18Z")

</div>


