# Fetch timestamp of a 2 particular rows based a column

**URL:** <https://discuss.elastic.co/t/fetch-timestamp-of-a-2-particular-rows-based-a-column/121774>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 28, 2018, 4:51am UTC](https://discuss.elastic.co/t/fetch-timestamp-of-a-2-particular-rows-based-a-column/121774 "2018-02-28T04:51:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashish\_khulbe](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@ashish\_khulbe](https://discuss.elastic.co/u/ashish_khulbe)\
**Post date:** [February 28, 2018, 4:51am UTC](https://discuss.elastic.co/t/fetch-timestamp-of-a-2-particular-rows-based-a-column/121774/1 "2018-02-28T04:51:08Z")

</div>

Hi Team,

I want to fetch timestamp of a 2 particular rows based a column and then want to find out duration in between both. Is there any inbuilt way to implement this or possible ways. All suggestions are welcome.

Thanks in Advance,  
Ashish

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [February 28, 2018, 8:12am UTC](https://discuss.elastic.co/t/fetch-timestamp-of-a-2-particular-rows-based-a-column/121774/2 "2018-02-28T08:12:25Z")

</div>

What you are looking for sounds like processing of the log line. For this have a look at Logstash or the Ingest Pipeline. As your case sounds more complex and probably a scripts is needed, Logstash is your best bet.

---

<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:** [March 28, 2018, 8:12am UTC](https://discuss.elastic.co/t/fetch-timestamp-of-a-2-particular-rows-based-a-column/121774/3 "2018-03-28T08:12:49Z")

</div>

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