# Kibana - comparison under the same timeframe

**URL:** <https://discuss.elastic.co/t/kibana-comparison-under-the-same-timeframe/84064>\
**Category:** Kibana\
**Created:** [April 28, 2017, 9:50pm UTC](https://discuss.elastic.co/t/kibana-comparison-under-the-same-timeframe/84064 "2017-04-28T21:50:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cabishek188](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@cabishek188](https://discuss.elastic.co/u/cabishek188)\
**Post date:** [April 28, 2017, 9:50pm UTC](https://discuss.elastic.co/t/kibana-comparison-under-the-same-timeframe/84064/1 "2017-04-28T21:50:47Z")

</div>

Hi all,

I need to do something like below but not able to figure out how to do it. Please help:  
Data set:

time,vir-memory, res-memory  
April21-2009,60,80  
April22-2009,34,56  
April23-2009,44,33

time,vir-memory, res-memory  
Dec10-2009,20,30  
Dec11-2009,10,44  
Dec12-2009,55,89

What I would like to see is, how can I compare these values on the same timeframe ? Like compare on the same x-axis - (what I see now is disjoint data.. I see x axis.. 3 values around April and then around Dec)

Could you please help ?

I have attached screenshot as to what I see and what I would like to see.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/6/e/6e07d53efb332131408a63de2880e976392f34c7.png) ![](https://us1.discourse-cdn.com/elastic/original/3X/3/8/38ba8b278e4159c357714308c199c66854a4b5ef.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 28, 2017, 10:13pm UTC](https://discuss.elastic.co/t/kibana-comparison-under-the-same-timeframe/84064/2 "2017-04-28T22:13:46Z")

</div>

You will need to use timelion with the `offset` function to do that.

---

<div class="post-metadata">

**Author:** ![cabishek188](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@cabishek188](https://discuss.elastic.co/u/cabishek188)\
**Post date:** [April 28, 2017, 10:34pm UTC](https://discuss.elastic.co/t/kibana-comparison-under-the-same-timeframe/84064/3 "2017-04-28T22:34:14Z")

</div>

Do you have an example please ? Thanks.

---

<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 28, 2017, 11:05pm UTC](https://discuss.elastic.co/t/kibana-comparison-under-the-same-timeframe/84064/4 "2017-04-28T23:05:32Z")

</div>

There's one here - [Kibana: getting wrong data with offset -1w?](https://discuss.elastic.co/t/kibana-getting-wrong-data-with-offset-1w/83360)

---

<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 26, 2017, 11:08pm UTC](https://discuss.elastic.co/t/kibana-comparison-under-the-same-timeframe/84064/5 "2017-05-26T23:08:23Z")

</div>

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