# Compare two field of different date

**URL:** <https://discuss.elastic.co/t/compare-two-field-of-different-date/123476>\
**Category:** Kibana\
**Created:** [March 12, 2018, 5:46am UTC](https://discuss.elastic.co/t/compare-two-field-of-different-date/123476 "2018-03-12T05:46:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cemkuleyin](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@cemkuleyin](https://discuss.elastic.co/u/cemkuleyin)\
**Post date:** [March 12, 2018, 5:46am UTC](https://discuss.elastic.co/t/compare-two-field-of-different-date/123476/1 "2018-03-12T05:46:13Z")

</div>

Hi,

I'm Cem. I have a problem with Kibana. We want to compare two fields on one screen or one graph. But we cannot do that.

Can you explain to us?

Thanks,

Cem.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [March 12, 2018, 2:25pm UTC](https://discuss.elastic.co/t/compare-two-field-of-different-date/123476/2 "2018-03-12T14:25:00Z")

</div>

Hey @cemkuleyin, I'll need a bit more information to be able to assist you. Would you mind describing the structure of your data in Elasticsearch and how you'd like to compare it? As you're probably aware, Elasticsearch has [limited join support](https://www.elastic.co/guide/en/elasticsearch/reference/current/joining-queries.html) but there's generally way to work around this limitation by modifying your data on ingest, or using a pipeline aggregation.

---

<div class="post-metadata">

**Author:** ![cemkuleyin](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@cemkuleyin](https://discuss.elastic.co/u/cemkuleyin)\
**Post date:** [March 13, 2018, 12:02pm UTC](https://discuss.elastic.co/t/compare-two-field-of-different-date/123476/3 "2018-03-13T12:02:21Z")

</div>

hi @Brandon_Kobel,

I want to analyze two term of timestamp but i cannot do that analyze.

Can you help me?

Thanks,

Cem.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [March 13, 2018, 12:38pm UTC](https://discuss.elastic.co/t/compare-two-field-of-different-date/123476/4 "2018-03-13T12:38:50Z")

</div>

@cemkuleyin so you have two documents with the same timestamp with different other fields? Are these in different Elasticsearch documents/indices, and how are you looking to "analyze" them?

---

<div class="post-metadata">

**Author:** ![cemkuleyin](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@cemkuleyin](https://discuss.elastic.co/u/cemkuleyin)\
**Post date:** [March 13, 2018, 1:04pm UTC](https://discuss.elastic.co/t/compare-two-field-of-different-date/123476/5 "2018-03-13T13:04:00Z")

</div>

@Brandon_Kobel, we want to same field with different timestamp.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [March 13, 2018, 1:53pm UTC](https://discuss.elastic.co/t/compare-two-field-of-different-date/123476/6 "2018-03-13T13:53:05Z")

</div>

@cemkuleyin I'm having trouble understanding what you're looking to accomplish, could you provide a sample document(s)?

---

<div class="post-metadata">

**Author:** ![cemkuleyin](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@cemkuleyin](https://discuss.elastic.co/u/cemkuleyin)\
**Post date:** [April 2, 2018, 6:27am UTC](https://discuss.elastic.co/t/compare-two-field-of-different-date/123476/7 "2018-04-02T06:27:36Z")

</div>

hi again Brandon, we didnt solve our problem.

We want to plot a graph one field for two or more timestamp period for example google analytics.

i will sent you example picture from google analytics.

 ![google_sample](https://us1.discourse-cdn.com/elastic/original/3X/1/4/1429078918672909f5bcd8e2ec137fc323f61325.PNG)

---

<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:** [April 30, 2018, 6:27am UTC](https://discuss.elastic.co/t/compare-two-field-of-different-date/123476/8 "2018-04-30T06:27:46Z")

</div>

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