# Not sure how to dpl this line

**URL:** <https://community.dynatrace.com/t/not-sure-how-to-dpl-this-line/50667>\
**Category:** DQL\
**Tags:** dpl, logs\
**Created:** [March 11, 2025, 7:35pm UTC](https://community.dynatrace.com/t/not-sure-how-to-dpl-this-line/50667 "2025-03-11T19:35:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vm\_molson](https://avatars.discourse-cdn.com/v4/letter/v/b782af/32.png) [@vm\_molson](https://community.dynatrace.com/u/vm_molson)\
**Post date:** [March 11, 2025, 7:35pm UTC](https://community.dynatrace.com/t/not-sure-how-to-dpl-this-line/50667/1 "2025-03-11T19:35:51Z")

</div>

I’m very new and used to working with RegEx. We’re switching over to DT now and I used to be able (in our other tool) pull the application version of one of our monitored applications with RegEx.

I’ve been trying to use the documentation to figure this out, but I am a little stuck. I am wondering if someone could give me a hint as how to go about extracting the version from this log?

2025-01-15 10:35:00,738 20987821 [Application Provider service queue #2[req=123456,id=12345678]] INFO a.b.c.d.e.f.g.ApplicationServiceQueue - UpdateInfoForAccts, numAccts: 1821, numSubAccts: 12193, numSeconds: 20, startBusy: 71%, beginBusy: 52%, activeBusy: 95%, endBusy: 8%, identifier: 123456789, xyLogged: true version: release/5.5.555-7

Ideally I want to just grab “5.5.555-7”.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [March 11, 2025, 9:18pm UTC](https://community.dynatrace.com/t/not-sure-how-to-dpl-this-line/50667/2 "2025-03-11T21:18:54Z")

</div>

What about something like this?

```markup
data record(line= "2025-01-15 10:35:00,738 20987821 [Application Provider service queue #2[req=123456,id=12345678]] INFO a.b.c.d.e.f.g.ApplicationServiceQueue - UpdateInfoForAccts, numAccts: 1821, numSubAccts: 12193, numSeconds: 20, startBusy: 71%, beginBusy: 52%, activeBusy: 95%, endBusy: 8%, identifier: 123456789, xyLogged: true version: release/5.5.555-7") 
| parse line, """LD 'version:' SPACE 'release/' [^]*:version"""

```

(you probably want the DPL from parse command&nbsp; only).
