# Kibana and Timelion feature, display startTime and EndTime for time interval on graph

**URL:** <https://discuss.elastic.co/t/kibana-and-timelion-feature-display-starttime-and-endtime-for-time-interval-on-graph/222097>\
**Category:** Elasticsearch\
**Created:** [March 4, 2020, 2:01pm UTC](https://discuss.elastic.co/t/kibana-and-timelion-feature-display-starttime-and-endtime-for-time-interval-on-graph/222097 "2020-03-04T14:01:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![qub123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qub123/32/55327_2.png) [@qub123](https://discuss.elastic.co/u/qub123)\
**Post date:** [March 4, 2020, 2:01pm UTC](https://discuss.elastic.co/t/kibana-and-timelion-feature-display-starttime-and-endtime-for-time-interval-on-graph/222097/1 "2020-03-04T14:01:18Z")

</div>

Hi

I would like to draw a graph to see the sum of number of active Jobs across hourly time interval. From the sample below, it shows that there are 5 ES documents, with 3 fields, “name”, “StartTime” and “EndTime”. The period between start time and end time means the active period of the job.

And I want to create a graph in kibana or timelion, that can show me number of active job that looks like the graph below with the two timestamps that have been provided below. I still haven't be able to find a way to use those two timestamps to span across different time interval below.

 ![jobStarted](https://us1.discourse-cdn.com/elastic/original/3X/5/7/57ea3bceab6e4f1e0c54ecc2a85433a9f1dbc891.jpeg)

 ![activeJob_timelion](https://us1.discourse-cdn.com/elastic/original/3X/e/b/ebd9ab87f73f67c9dad4ccc1219395e2b29c462c.jpeg)

_ **Doc1** _

Name : JobA

StartTime: 2020-03-04T01:00:00.000Z

EndTime: 2020-03-04T03:00:00.000Z

_ **Doc2** _

Name:JobB

StartTime: 2020-03-04T02:00:00.000Z

EndTime: 2020-03-04T04:00:00.000Z

_ **Doc3** _

Name:JobC

StartTime: 2020-03-04T02:00:00.000Z

EndTime: 2020-03-04T05:00:00.000Z

_ **Doc4** _

Name:JobD

StartTime: 2020-03-04T03:00:00.000Z

EndTime: 2020-03-04T04:00:00.000Z

_ **Doc5** _

Name:JobE

StartTime: 2020-03-04T04:00:00.000Z

EndTime: 2020-03-04T06:00:00.000Z

---

<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:** [April 1, 2020, 2:01pm UTC](https://discuss.elastic.co/t/kibana-and-timelion-feature-display-starttime-and-endtime-for-time-interval-on-graph/222097/2 "2020-04-01T14:01:29Z")

</div>

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