# Fetch start\_time and end\_time\_new from Log content

**URL:** <https://community.dynatrace.com/t/fetch-start-time-and-end-time-new-from-log-content/52945>\
**Category:** DQL\
**Tags:** dql, json, logs\
**Created:** [August 14, 2025, 5:30am UTC](https://community.dynatrace.com/t/fetch-start-time-and-end-time-new-from-log-content/52945 "2025-08-14T05:30:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gopi-10](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@Gopi-10](https://community.dynatrace.com/u/Gopi-10)\
**Post date:** [August 14, 2025, 5:30am UTC](https://community.dynatrace.com/t/fetch-start-time-and-end-time-new-from-log-content/52945/1 "2025-08-14T05:30:49Z")

</div>

LOG Content:&nbsp;  
25/08/13 11:23:51 INFO log\_msg for Job status in nprod: Appended latest task for job\_id 1234: {‘job\_id’: ‘1234’, ‘run\_id’: ‘321’, ‘task\_key’: ‘GRR’, ‘start\_time\_new’: ‘Aug 13, 2025, 10:00 AM’, ‘end\_time\_new’: ‘Aug 13, 2025, 10:00 AM’, ‘result\_state’: ‘FAILED’, ‘execution\_duration’: ‘0m 3s’}

Used below query by got NULL result:

fetch logs //, scanLimit: 500, samplingRatio: 1000  
| filter matchesPhrase(content, “1234”)  
| filter matchesValue(loglevel, “INFO”)  
| parse content, " ‘start\_time\_new’: ‘\<start\>’"  
| sort timestamp desc  
| fields start

---

<div class="post-metadata">

**Author:** ![Akhil-Jayendran](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/akhil-jayendran/32/153_2.png) [@Akhil-Jayendran](https://community.dynatrace.com/u/Akhil-Jayendran)\
**Post date:** [August 14, 2025, 1:15pm UTC](https://community.dynatrace.com/t/fetch-start-time-and-end-time-new-from-log-content/52945/2 "2025-08-14T13:15:15Z")

</div>

Hello&nbsp;[@Gopi-10](https://community.dynatrace.com/user/80443)&nbsp;,

Can you try this?

| parse content, “”“LD ‘start\_time\_new\’: \‘’ LD:start\_time\_new ‘\’,'”“”

 ![Screenshot 2025-08-14 at 8.18.43 AM.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/1/b1a8730e0a95ec9f5b2a140c3435747fdac772e3.png)
