# Can i change the Y axis to represent timestamp based data?

**URL:** https://discuss.elastic.co/t/can-i-change-the-y-axis-to-represent-timestamp-based-data/150814
**Category:** Kibana
**Created:** [October 3, 2018, 5:03am UTC](https://discuss.elastic.co/t/can-i-change-the-y-axis-to-represent-timestamp-based-data/150814 "2018-10-03T05:03:33Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![chidori](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@chidori](https://discuss.elastic.co/u/chidori)
#### Post date: [October 3, 2018, 5:03am UTC](https://discuss.elastic.co/t/can-i-change-the-y-axis-to-represent-timestamp-based-data/150814/1 "2018-10-03T05:03:34Z")

</div>

I am relatively new to elasticsearch and trying my best to understand Elastic stack by referring docs and videos. I have setup heartbeat to monitor a list of hosts ( ICMP monitoring ). I am able to successfully connect heartbeat data with elasticsearch. While the inbuilt dashboards for heartbeat looks good enough, what I am interested in is a simple bar chart where the one axis should be timestamp which can be broken down into hours/minutes/days while the other axis would talk about the host and their ping response. I am interested in something like the auto generated visualization seen under "Discover" for a heartbeat data.

---

<div class="post-metadata">

### Author: ![thekm1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thekm1/32/35926_2.png) [@thekm1](https://discuss.elastic.co/u/thekm1)
#### Post date: [October 3, 2018, 8:58am UTC](https://discuss.elastic.co/t/can-i-change-the-y-axis-to-represent-timestamp-based-data/150814/2 "2018-10-03T08:58:38Z")

</div>

Hi muthu saravana

If i understand you correctly then you want to have the count in y axis (like in discover) and the timestamp in the x axis where you can break down.

Follow these steps:

go to visualize:

 ![53](https://us1.discourse-cdn.com/elastic/original/3X/5/4/5436e292b3b6ba22377d4e17de70a53e297feac3.png)  
click on the plus and select vertical bar  
choose heartbeat-\* on the lefthandside  
You should be in the verticalbar visualiser now: ![59](https://us1.discourse-cdn.com/elastic/original/3X/c/9/c93922a0394a30b6cd6543cc116f4139ba19ac84.png)  
On the left hand side under buckets choose the x-Axis and change these as config  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/7/b7392a75c779f2ef2c9dbee3a6cb121e9194eff0.png)  
Press the play button on the left handside  
interval changings under Buckets/Interval (use auto if possible)  
For more inf, see [docs](https://www.elastic.co/guide/en/kibana/current/createvis.html)

---

<div class="post-metadata">

### Author: ![chidori](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@chidori](https://discuss.elastic.co/u/chidori)
#### Post date: [October 3, 2018, 10:42am UTC](https://discuss.elastic.co/t/can-i-change-the-y-axis-to-represent-timestamp-based-data/150814/3 "2018-10-03T10:42:57Z")

</div>

@thekm1 Thanks for your response. Sorry if did mention it clearly in my original post. I am using heartbeat module to monitor my machines are up or down. I am looking out for a chart where Y-axis would be the timestamp and X-axis the hosts. It should be a timestamp vs host chart with their UP and DOWN status highlighted using some colors.

---

<div class="post-metadata">

### Author: ![thekm1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thekm1/32/35926_2.png) [@thekm1](https://discuss.elastic.co/u/thekm1)
#### Post date: [October 8, 2018, 9:43am UTC](https://discuss.elastic.co/t/can-i-change-the-y-axis-to-represent-timestamp-based-data/150814/4 "2018-10-08T09:43:10Z")

</div>

hi muthu saravana,  
I'm not sure if this matches your requirement, but give it a try.  
Set the heaptmap vis. with the following config  
--x-Axis with Term aggregation on the different type of hosts  
--y-Axis with status type term agg  
--split-chart in row with a timestamp agg.  
you will get something like this. (i couldn't find the color changing...)

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

Let me know if my answer helped you.  
regards thekm1

---

<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 5, 2018, 9:43am UTC](https://discuss.elastic.co/t/can-i-change-the-y-axis-to-represent-timestamp-based-data/150814/5 "2018-11-05T09:43:11Z")

</div>

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