# Kibana 7.0 and 7.8 : Date Histogram Auto interval does not appear for alias fields

**URL:** <https://discuss.elastic.co/t/kibana-7-0-and-7-8-date-histogram-auto-interval-does-not-appear-for-alias-fields/250452>\
**Category:** Kibana\
**Created:** [September 30, 2020, 6:36am UTC](https://discuss.elastic.co/t/kibana-7-0-and-7-8-date-histogram-auto-interval-does-not-appear-for-alias-fields/250452 "2020-09-30T06:36:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prathibha\_Y](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prathibha_y/32/95786_2.png) [@Prathibha\_Y](https://discuss.elastic.co/u/Prathibha_Y)\
**Post date:** [September 30, 2020, 6:36am UTC](https://discuss.elastic.co/t/kibana-7-0-and-7-8-date-histogram-auto-interval-does-not-appear-for-alias-fields/250452/1 "2020-09-30T06:36:30Z")

</div>

Hi,

In Visualisations, I have enabled alias fields for all data types, but if I select a date field alias in date histogram..auto interval does not come up..it looks like a bug to me, can anyone please look into it.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/2/72797b6882bea767edf8420a07930f425d12c01e.png)

Thanks  
Prathibha

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [October 1, 2020, 12:43am UTC](https://discuss.elastic.co/t/kibana-7-0-and-7-8-date-histogram-auto-interval-does-not-appear-for-alias-fields/250452/2 "2020-10-01T00:43:37Z")

</div>

Pratibha,

Can you please post how you created alias for date field(ideally the command)? And also are they working for you in discover?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Prathibha\_Y](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prathibha_y/32/95786_2.png) [@Prathibha\_Y](https://discuss.elastic.co/u/Prathibha_Y)\
**Post date:** [October 1, 2020, 7:10am UTC](https://discuss.elastic.co/t/kibana-7-0-and-7-8-date-histogram-auto-interval-does-not-appear-for-alias-fields/250452/3 "2020-10-01T07:10:19Z")

</div>

Bhavya,

This is how I have created alias for date field, and yes it shows up properly in discover tab

"End Date": {  
"type": "alias",  
"path": "END\_DT\_ES\_ENG"  
},

"END\_DT\_ES\_ENG": {  
"type": "date",  
"copy\_to": [  
"ES\_ENG\_all",  
"END\_DT\_ES\_KW\_ENG"  
],  
"format": "date"  
},

---

<div class="post-metadata">

**Author:** ![Prathibha\_Y](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prathibha_y/32/95786_2.png) [@Prathibha\_Y](https://discuss.elastic.co/u/Prathibha_Y)\
**Post date:** [October 14, 2020, 6:35am UTC](https://discuss.elastic.co/t/kibana-7-0-and-7-8-date-histogram-auto-interval-does-not-appear-for-alias-fields/250452/4 "2020-10-14T06:35:11Z")

</div>

Hi Bhavya,

Any information on why auto interval is not appearing for date alias

Thanks  
Prathibha

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [October 19, 2020, 5:12pm UTC](https://discuss.elastic.co/t/kibana-7-0-and-7-8-date-histogram-auto-interval-does-not-appear-for-alias-fields/250452/5 "2020-10-19T17:12:46Z")

</div>

Prathibha,

Apologies for the delay. I was out. Yep we got a bug. Logged here and the team should be taking a look at it in the near future.

> <https://github.com/elastic/kibana/issues/81022>
>
> Kibana version: 7.10.0
> Elasticsearch version: 7.10.0
> Server OS version: darwin\_x86\_64
> Browser version: chrome latest
> Browser OS version: OS X
> Original install method (e.g. download page, yum,...

Thanks,  
Bhavya

---

<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:** [November 16, 2020, 5:12pm UTC](https://discuss.elastic.co/t/kibana-7-0-and-7-8-date-histogram-auto-interval-does-not-appear-for-alias-fields/250452/6 "2020-11-16T17:12:58Z")

</div>

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