# How can i parse the below data and add time stamp for the thread level events

**URL:** <https://discuss.elastic.co/t/how-can-i-parse-the-below-data-and-add-time-stamp-for-the-thread-level-events/195327>\
**Category:** Logstash\
**Created:** [August 15, 2019, 10:33am UTC](https://discuss.elastic.co/t/how-can-i-parse-the-below-data-and-add-time-stamp-for-the-thread-level-events/195327 "2019-08-15T10:33:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![satyam2593](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@satyam2593](https://discuss.elastic.co/u/satyam2593)\
**Post date:** [August 15, 2019, 10:33am UTC](https://discuss.elastic.co/t/how-can-i-parse-the-below-data-and-add-time-stamp-for-the-thread-level-events/195327/1 "2019-08-15T10:33:15Z")

</div>

I want to parse the logs and add the datetime field value to the thread names.  
Below is my input logs:

* * *

## START the log printing 08/08/19 09:10:06 343

PID|THREAD NAME|CPU UTILIZATION|MEMORY UTILIZATION  
7066|DestroyJavaVM|0.0|11.3  
7072|Reference Handler|0.0|11.3

Because there are two different events.. i want to grep the date time from first event and append the value to thread level events..

Can anyone help please

---

<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:** [September 12, 2019, 10:37am UTC](https://discuss.elastic.co/t/how-can-i-parse-the-below-data-and-add-time-stamp-for-the-thread-level-events/195327/2 "2019-09-12T10:37:35Z")

</div>

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