# Compare two periods in Kibana

**URL:** <https://discuss.elastic.co/t/compare-two-periods-in-kibana/109937>\
**Category:** Kibana\
**Created:** [December 1, 2017, 1:49pm UTC](https://discuss.elastic.co/t/compare-two-periods-in-kibana/109937 "2017-12-01T13:49:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hannah](https://avatars.discourse-cdn.com/v4/letter/h/f04885/32.png) [@Hannah](https://discuss.elastic.co/u/Hannah)\
**Post date:** [December 1, 2017, 1:49pm UTC](https://discuss.elastic.co/t/compare-two-periods-in-kibana/109937/1 "2017-12-01T13:49:31Z")

</div>

Hi there, I'm new to Kibana and would like to compare two periods in a line. Role model for this chart is the Audience Overview in Google Analytics where you can compare two periods (see screenshot) on a time axis. On x-axis is a period of days (for example: this month and last month) and on y-axis is a metric like sessions for two lines (this month and last month). How do I have to arrange the axes and metrics in Kibana to make this visualisation happen?

 ![compare audience overview for two periods](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b63f78acda9282793e5cd925d0eed1715455ab68.jpg)

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [December 1, 2017, 10:31pm UTC](https://discuss.elastic.co/t/compare-two-periods-in-kibana/109937/2 "2017-12-01T22:31:51Z")

</div>

Hi Hannah,

Timelion in Kibana can do that. Here's a blog about Timelion [https://www.elastic.co/blog/timelion-tutorial-from-zero-to-hero](https://www.elastic.co/blog/timelion-tutorial-from-zero-to-hero)

And if you go down to the part titled `Offsetting data source` that's what you're looking for.

Regards,  
Lee

---

<div class="post-metadata">

**Author:** ![Hannah](https://avatars.discourse-cdn.com/v4/letter/h/f04885/32.png) [@Hannah](https://discuss.elastic.co/u/Hannah)\
**Post date:** [December 4, 2017, 11:12am UTC](https://discuss.elastic.co/t/compare-two-periods-in-kibana/109937/3 "2017-12-04T11:12:21Z")

</div>

Thank you, Lee, for the tip. I'll read the post and try to match both periods.

---

<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:** [January 1, 2018, 11:12am UTC](https://discuss.elastic.co/t/compare-two-periods-in-kibana/109937/4 "2018-01-01T11:12:52Z")

</div>

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