# Parsing the Logs

**URL:** <https://community.dynatrace.com/t/parsing-the-logs/53458>\
**Category:** DQL\
**Tags:** dql, dpl, logs\
**Created:** [September 23, 2025, 12:47pm UTC](https://community.dynatrace.com/t/parsing-the-logs/53458 "2025-09-23T12:47:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [September 24, 2025, 10:54am UTC](https://community.dynatrace.com/t/parsing-the-logs/53458/2 "2025-09-24T10:54:13Z")

</div>

Hi,  
You can parse everything after .Status. up to the colon as the metric\_name, and then parse the value after the colon as the metric\_value.&nbsp;  
Try this:

```markup
fetch logs
| filter contains(content, ".Status.")
| parse content, "LD:ignore '.Status.' STRING:metric_name ':' INT:metric_value"
| fields metric_name, metric_value

```

or&nbsp;If values can be floating-point numbers, use:

```markup
fetch logs
| filter contains(content, ".Status.")
| parse content, "LD:ignore '.Status.' STRING:metric_name ':' DOUBLE:metric_value"
| fields metric_name, metric_value

```

---

_[View the full topic](https://community.dynatrace.com/t/parsing-the-logs/53458)._
