# Kibana issue in line graph

**URL:** https://discuss.elastic.co/t/kibana-issue-in-line-graph/196886
**Category:** Kibana
**Created:** [August 27, 2019, 6:47am UTC](https://discuss.elastic.co/t/kibana-issue-in-line-graph/196886 "2019-08-27T06:47:57Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![dilipchiru](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@dilipchiru](https://discuss.elastic.co/u/dilipchiru)
#### Post date: [August 27, 2019, 6:47am UTC](https://discuss.elastic.co/t/kibana-issue-in-line-graph/196886/1 "2019-08-27T06:47:57Z")

</div>

HI ,

I want to have the line graph for the Metricbeat where x axis for time range and y axis is for percentage for example system.core.system.pct value and compare for last days which i want to add it int the y axis so each line indicates the Days

Please help me

Thanks  
DILIP BK

---

<div class="post-metadata">

### Author: ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)
#### Post date: [August 27, 2019, 9:30pm UTC](https://discuss.elastic.co/t/kibana-issue-in-line-graph/196886/2 "2019-08-27T21:30:47Z")

</div>

Hello @dilipchiru

Have you tried using a Line Chart? [https://www.elastic.co/guide/en/kibana/current/xy-chart.html](https://www.elastic.co/guide/en/kibana/current/xy-chart.html)

You might look at Kibana's included sample data and visualizations to see if you can find something similar to your needs.

---

<div class="post-metadata">

### Author: ![dilipchiru](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@dilipchiru](https://discuss.elastic.co/u/dilipchiru)
#### Post date: [August 28, 2019, 5:52am UTC](https://discuss.elastic.co/t/kibana-issue-in-line-graph/196886/3 "2019-08-28T05:52:01Z")

</div>

Hi ,

thanks for the reply i want to create the graph similarly like this on the kibana:

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

Please help to create it on the Kibana

---

<div class="post-metadata">

### Author: ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)
#### Post date: [August 28, 2019, 4:22pm UTC](https://discuss.elastic.co/t/kibana-issue-in-line-graph/196886/4 "2019-08-28T16:22:59Z")

</div>

I'm happy to help but I need a specific question in order to help you. Do you have kibana up and running? Do you have your data available in kibana? Are you able to use that data in a line chart?

---

<div class="post-metadata">

### Author: ![dilipchiru](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@dilipchiru](https://discuss.elastic.co/u/dilipchiru)
#### Post date: [August 29, 2019, 7:31am UTC](https://discuss.elastic.co/t/kibana-issue-in-line-graph/196886/5 "2019-08-29T07:31:45Z")

</div>

Yes everything is available as per the need But i want to design similarly on the line graph for kibana

---

<div class="post-metadata">

### Author: ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)
#### Post date: [August 30, 2019, 3:40pm UTC](https://discuss.elastic.co/t/kibana-issue-in-line-graph/196886/6 "2019-08-30T15:40:09Z")

</div>

Sorry, I think its taken me a bit to understand your question. I think the core of it is how to graph multiple days over the same time scale. A couple different approaches can be taken. I'd suggest creating a scripted field that extracts the hour into a field and another that extracts the day as a keyword. You'll lose time resolution but perhaps this is acceptable.

Was this helpful?

---

<div class="post-metadata">

### Author: ![dilipchiru](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@dilipchiru](https://discuss.elastic.co/u/dilipchiru)
#### Post date: [September 6, 2019, 8:35am UTC](https://discuss.elastic.co/t/kibana-issue-in-line-graph/196886/7 "2019-09-06T08:35:11Z")

</div>

Sorry for the late reply please give me some sample use case i am new to kibana

---

<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: [October 4, 2019, 8:35am UTC](https://discuss.elastic.co/t/kibana-issue-in-line-graph/196886/8 "2019-10-04T08:35:20Z")

</div>

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