# Heathmap time on y-axis without date

**URL:** <https://discuss.elastic.co/t/heathmap-time-on-y-axis-without-date/106699>\
**Category:** Kibana\
**Created:** [November 7, 2017, 2:22pm UTC](https://discuss.elastic.co/t/heathmap-time-on-y-axis-without-date/106699 "2017-11-07T14:22:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichouVS](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@MichouVS](https://discuss.elastic.co/u/MichouVS)\
**Post date:** [November 7, 2017, 2:22pm UTC](https://discuss.elastic.co/t/heathmap-time-on-y-axis-without-date/106699/1 "2017-11-07T14:22:06Z")

</div>

I'm trying to create a visualisation to see how many devices have connected to our application at certain times of the day. Of course, I can do this with regular bar / line graphs, but i'd like to visualise this with a heath map.

Heath map looking as following:

- Has the date histogram (Daily) on the X-axis
- The hours only on the Y-axis

I can't seem to find a way to display only hours on the y-axis. Is this possible?

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [November 7, 2017, 5:44pm UTC](https://discuss.elastic.co/t/heathmap-time-on-y-axis-without-date/106699/2 "2017-11-07T17:44:30Z")

</div>

Do you have a separate field for "hour\_of\_day" in your mapping? If not, you could create a scripted field for this in your index pattern settings. Then, you can split by date histogram for timestamp (x-axis) and by histogram with an interval of 1 for hour\_of\_day (y-axis). I can provide further instructions if necessary.

---

<div class="post-metadata">

**Author:** ![MichouVS](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@MichouVS](https://discuss.elastic.co/u/MichouVS)\
**Post date:** [November 8, 2017, 9:03am UTC](https://discuss.elastic.co/t/heathmap-time-on-y-axis-without-date/106699/3 "2017-11-08T09:03:12Z")

</div>

Hi Lukas!

I haven't tried this yet, will give it a shot. Thanks!

---

<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 6, 2017, 9:03am UTC](https://discuss.elastic.co/t/heathmap-time-on-y-axis-without-date/106699/4 "2017-12-06T09:03:17Z")

</div>

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