# Comparison Graph in Kibana

**URL:** <https://discuss.elastic.co/t/comparison-graph-in-kibana/63718>\
**Category:** Kibana\
**Created:** [October 24, 2016, 8:37am UTC](https://discuss.elastic.co/t/comparison-graph-in-kibana/63718 "2016-10-24T08:37:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Senz79](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/senz79/32/42874_2.png) [@Senz79](https://discuss.elastic.co/u/Senz79)\
**Post date:** [October 24, 2016, 8:37am UTC](https://discuss.elastic.co/t/comparison-graph-in-kibana/63718/1 "2016-10-24T08:37:33Z")

</div>

Hello  
I want to create graph as a template which will give me comparison of the current data with the old data . The data will be pushed once in every 24 hours and I want create the comparison graph of current data and the one 24 hrs before.

Please help, I am not able to use the Date Range aggregation.

Thanks

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [October 24, 2016, 9:27pm UTC](https://discuss.elastic.co/t/comparison-graph-in-kibana/63718/2 "2016-10-24T21:27:19Z")

</div>

Hi there!

Can you show me what your data looks like and explain why the Date Range aggregation won't work for you?

As far as I know, the way to compare two charts the way you describe is to create two separate Visualizations with different Date Range aggs and add them to the same Dashboard.

You _could_ also create a Date Histogram and set your time range to be 48 Hours Ago relative to Now. Then you would have all the relevant data visible. It would be a little more difficult to compare than having them in two separate charts, though.

CJ

---

<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:** [October 24, 2016, 9:33pm UTC](https://discuss.elastic.co/t/comparison-graph-in-kibana/63718/3 "2016-10-24T21:33:18Z")

</div>

You may want to look at Timelion.

---

<div class="post-metadata">

**Author:** ![Senz79](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/senz79/32/42874_2.png) [@Senz79](https://discuss.elastic.co/u/Senz79)\
**Post date:** [October 25, 2016, 2:21am UTC](https://discuss.elastic.co/t/comparison-graph-in-kibana/63718/4 "2016-10-25T02:21:50Z")

</div>

cjcenizal  
I am running jmeter test once everyday and comparing the results with the last test.

---

<div class="post-metadata">

**Author:** ![Senz79](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/senz79/32/42874_2.png) [@Senz79](https://discuss.elastic.co/u/Senz79)\
**Post date:** [October 25, 2016, 2:22am UTC](https://discuss.elastic.co/t/comparison-graph-in-kibana/63718/5 "2016-10-25T02:22:33Z")

</div>

warkolm  
i am looking at timelion but still trying to understand how to set date difference

---

<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:** [July 6, 2017, 1:35pm UTC](https://discuss.elastic.co/t/comparison-graph-in-kibana/63718/6 "2017-07-06T13:35:47Z")

</div>


