# Visualize start and end times

**URL:** https://discuss.elastic.co/t/visualize-start-and-end-times/143319
**Category:** Kibana
**Created:** [August 7, 2018, 12:20pm UTC](https://discuss.elastic.co/t/visualize-start-and-end-times/143319 "2018-08-07T12:20:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Arjun](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Arjun](https://discuss.elastic.co/u/Arjun)
#### Post date: [August 7, 2018, 12:20pm UTC](https://discuss.elastic.co/t/visualize-start-and-end-times/143319/1 "2018-08-07T12:20:53Z")

</div>

Hi,

I have set of call records with columns - start\_time, end\_time and number.  
I want to create any graph with each distinct number on x-axis and y-axis displaying the start to end time .  
Can someone help me in achieving this.

Thanks  
Arjun

---

<div class="post-metadata">

### Author: ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)
#### Post date: [August 7, 2018, 5:26pm UTC](https://discuss.elastic.co/t/visualize-start-and-end-times/143319/2 "2018-08-07T17:26:15Z")

</div>

Hi @Arjun,

for this, you will likely have to use the Vega visualization, as these sort of range-visualizations are not supported by the regular visualizations.

This does require you to write some code. I would start with going through the documentation here [https://www.elastic.co/guide/en/kibana/current/vega-graph.html](https://www.elastic.co/guide/en/kibana/current/vega-graph.html), and see if this will work for you.

---

<div class="post-metadata">

### Author: ![Arjun](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Arjun](https://discuss.elastic.co/u/Arjun)
#### Post date: [August 8, 2018, 12:42pm UTC](https://discuss.elastic.co/t/visualize-start-and-end-times/143319/3 "2018-08-08T12:42:32Z")

</div>

Hi @thomasneirynck,

I tried understanding Vega graph but unable to query elastic search.  
Below is my requirement.  
Could you please check and let me know if this can be achieved in Kibana.  
I have 3 records as below in elastic search. first two columns are timestamp and third column is string in elastic search.  
Begin time,End time, Number  
2018-07-04T05:30:00.000Z,2018-07-04T05:50:00.000Z ,12345  
2018-07-04T05:40:00.000Z,2018-07-04T05:60:00.000Z ,12345  
2018-07-04T05:20:00.000Z,2018-07-04T05:40:00.000Z ,23456

below is the chart I am looking to implement.

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

Please suggest me on this graph implementation.

Thanks  
Arjun

---

<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: [September 5, 2018, 12:42pm UTC](https://discuss.elastic.co/t/visualize-start-and-end-times/143319/4 "2018-09-05T12:42:34Z")

</div>

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