# Kibana Data Table Date Histogram Aggregation Useless labels

**URL:** <https://discuss.elastic.co/t/kibana-data-table-date-histogram-aggregation-useless-labels/182495>\
**Category:** Kibana\
**Created:** [May 23, 2019, 5:28pm UTC](https://discuss.elastic.co/t/kibana-data-table-date-histogram-aggregation-useless-labels/182495 "2019-05-23T17:28:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![david-cunningham-rez](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@david-cunningham-rez](https://discuss.elastic.co/u/david-cunningham-rez)\
**Post date:** [May 23, 2019, 5:28pm UTC](https://discuss.elastic.co/t/kibana-data-table-date-histogram-aggregation-useless-labels/182495/1 "2019-05-23T17:28:46Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/0/3/03874f15859d06067b94b5ac79d077f42c86406d.png)

So when I add the following split table aggregation to my data, instead of giving me the month name for my labels, it gives me the milliseconds for the timestamp. I also don't see a way to edit it.

Here's what it looks like:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/a/9aa969221d2fa1765876a9ee8d431d3439a2582a.png)

Obviously, a label like that won't really do for a dashboard.

How can I format the label so it's MM-YYYY?

---

<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:** [May 28, 2019, 2:22am UTC](https://discuss.elastic.co/t/kibana-data-table-date-histogram-aggregation-useless-labels/182495/2 "2019-05-28T02:22:11Z")

</div>

Hi,

You can use Kibana field formatters on your dateKey: [https://www.elastic.co/guide/en/kibana/current/field-formatters-date.html](https://www.elastic.co/guide/en/kibana/current/field-formatters-date.html)

That should help.

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![javiru23](https://avatars.discourse-cdn.com/v4/letter/j/c68b51/32.png) [@javiru23](https://discuss.elastic.co/u/javiru23)\
**Post date:** [June 21, 2019, 8:11am UTC](https://discuss.elastic.co/t/kibana-data-table-date-histogram-aggregation-useless-labels/182495/3 "2019-06-21T08:11:14Z")

</div>

Hi,

I'm having the same issue. After setting up a date histogram, daily, and getting the ouput I get the titile formatted as "millis:Label".

I have setted up the date format for that field in Kibana Index Pattern configuration as "DD/MM/YYYY" getting at the example output the expected value, but it seems that this configuration isn't enought for Data Table visualization.

Can you provide me one solution please?

Greetings,  
Javi.

---

<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 19, 2019, 8:11am UTC](https://discuss.elastic.co/t/kibana-data-table-date-histogram-aggregation-useless-labels/182495/4 "2019-07-19T08:11:14Z")

</div>

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