# Create daily flight arrival time line graph

**URL:** https://discuss.elastic.co/t/create-daily-flight-arrival-time-line-graph/176989
**Category:** Kibana
**Created:** [April 16, 2019, 3:26am UTC](https://discuss.elastic.co/t/create-daily-flight-arrival-time-line-graph/176989 "2019-04-16T03:26:09Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![kankipatis](https://avatars.discourse-cdn.com/v4/letter/k/8baadc/32.png) [@kankipatis](https://discuss.elastic.co/u/kankipatis)
#### Post date: [April 16, 2019, 3:26am UTC](https://discuss.elastic.co/t/create-daily-flight-arrival-time-line-graph/176989/1 "2019-04-16T03:26:09Z")

</div>

Hello Experts,

I am looking at creating line graph of daily flight arrival time of each flight.  
Y-axis must be time in HH:MM format and X-Axis is date in DD:MM:YYYY format.

Data is in below format

Flight Number: ABC001  
Arrival Time: 12-03-2019 13:45:12

Please advise if its doable?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 16, 2019, 4:50am UTC](https://discuss.elastic.co/t/create-daily-flight-arrival-time-line-graph/176989/2 "2019-04-16T04:50:08Z")

</div>

You might be better off doing this as a heatmap.

To do that, you will want to split out the time, from the arrival time, into it's own field.

---

<div class="post-metadata">

### Author: ![kankipatis](https://avatars.discourse-cdn.com/v4/letter/k/8baadc/32.png) [@kankipatis](https://discuss.elastic.co/u/kankipatis)
#### Post date: [April 16, 2019, 7:39am UTC](https://discuss.elastic.co/t/create-daily-flight-arrival-time-line-graph/176989/3 "2019-04-16T07:39:18Z")

</div>

Hi Mark,

Thanks for reply. You mean to use scripted field for deriving the TIME?  
Can it be done using line chart?  
I am looking at similar graph as below, this was plotted in excel.

 ![Flight_Arrival](https://us1.discourse-cdn.com/elastic/original/3X/f/2/f23f537dd6978d2a1dc6000fc3c25fd2f71f1d75.png)

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 16, 2019, 7:40am UTC](https://discuss.elastic.co/t/create-daily-flight-arrival-time-line-graph/176989/4 "2019-04-16T07:40:04Z")

</div>

You can do that, I am not sure what value it provides?

---

<div class="post-metadata">

### Author: ![kankipatis](https://avatars.discourse-cdn.com/v4/letter/k/8baadc/32.png) [@kankipatis](https://discuss.elastic.co/u/kankipatis)
#### Post date: [April 16, 2019, 7:44am UTC](https://discuss.elastic.co/t/create-daily-flight-arrival-time-line-graph/176989/5 "2019-04-16T07:44:58Z")

</div>

My use case is similar to flight arrival time.  
More than 100 batch jobs get executed in the application I support. The requirement is to plot the line chart graph to identify the job start delays.

I have the data in below format.

JobName,JobStartTime  
ABCD1234, DD/MM/YYYY:hh:mm:ss

I am sure this can be done in Excel by deriving date and time into separate columns. I tried to add the scripted field to do the same but unable to use the scripted field to plot the line graph.

---

<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: [May 14, 2019, 7:45am UTC](https://discuss.elastic.co/t/create-daily-flight-arrival-time-line-graph/176989/6 "2019-05-14T07:45:13Z")

</div>

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