# \#dpl

**URL:** https://community.dynatrace.com/tag/dpl/508.md

[Latest](https://community.dynatrace.com/latest.md) · [Categories](https://community.dynatrace.com/categories.md) · [Tags](https://community.dynatrace.com/tags.md)

---

## [How to Replace certain part of URL in a log content](https://community.dynatrace.com/t/how-to-replace-certain-part-of-url-in-a-log-content/50806)

<div class="topic-metadata">

**Author:** [@susmita\_k](https://community.dynatrace.com/u/susmita_k)\
**Replies:** 5\
**Last updated:** [July 30, 2026, 3:22pm UTC](https://community.dynatrace.com/t/how-to-replace-certain-part-of-url-in-a-log-content/50806 "2026-07-30T15:22:06Z")

</div>

I have a log content like this : URL: /v1/agreements/12345678/vins/xx123456KL456/validate How can I replace the 3rd and 5th portion so that for all vins and agreements # dynatrace treat them as same url ?

---

## [Return True if Pattern is found anywhere within Text - Help](https://community.dynatrace.com/t/return-true-if-pattern-is-found-anywhere-within-text-help/56394)

<div class="topic-metadata">

**Author:** [@badgerfifteen](https://community.dynatrace.com/u/badgerfifteen)\
**Replies:** 2\
**Last updated:** [July 9, 2026, 11:06am UTC](https://community.dynatrace.com/t/return-true-if-pattern-is-found-anywhere-within-text-help/56394 "2026-07-09T11:06:57Z")

</div>

Hi, I am formulating a DPL command to return true if a pattern such as a credit card format/number exists anywhere within a piece of text. For example… data record(a = "378282246310005") | parse a, """CREDITCARD:cc"""…

---

## [Why is this so hard -- Simple log parsing](https://community.dynatrace.com/t/why-is-this-so-hard-simple-log-parsing/56298)

<div class="topic-metadata">

**Author:** [@jim\_hinze](https://community.dynatrace.com/u/jim_hinze)\
**Replies:** 3\
**Last updated:** [June 26, 2026, 6:14am UTC](https://community.dynatrace.com/t/why-is-this-so-hard-simple-log-parsing/56298 "2026-06-26T06:14:32Z")

</div>

Sometimes this works, sometimes it does not… and quite frankly, the documentation is not helpful. Here is a log entry: Jun 25 15:31:20 HOSTNAME CEF:0|Netwrix|Activity Monitor|9.0.1477|Windows File SystemReadTrueFalse|Fi…

---

## [Parsing URL to extract data](https://community.dynatrace.com/t/parsing-url-to-extract-data/56050)

<div class="topic-metadata">

**Author:** [@apourbaix](https://community.dynatrace.com/u/apourbaix)\
**Replies:** 2\
**Last updated:** [June 1, 2026, 2:14pm UTC](https://community.dynatrace.com/t/parsing-url-to-extract-data/56050 "2026-06-01T14:14:53Z")

</div>

In DQL, I’m trying to parse an url to extract usefull data. Example: https://api-services.unknown.com/env/v6/permissions/check I want to extract api version which is v6 in this case. Then, I want all the following, whi…

---

## [Data from csv including comma](https://community.dynatrace.com/t/data-from-csv-including-comma/55903)

<div class="topic-metadata">

**Author:** [@loopy](https://community.dynatrace.com/u/loopy)\
**Replies:** 1\
**Last updated:** [May 14, 2026, 9:55am UTC](https://community.dynatrace.com/t/data-from-csv-including-comma/55903 "2026-05-14T09:55:37Z")

</div>

Data is currently in a string from a csv for example 2026-05-13 22:51:49.585,email@email.com,service,com.corp.ag,DENIED,“designer, app-user” Need to parse it so the data is in format: | timestamp …

---

## [Need to extract logs on behalf of Opco and IMSI variable](https://community.dynatrace.com/t/need-to-extract-logs-on-behalf-of-opco-and-imsi-variable/55201)

<div class="topic-metadata">

**Author:** [@kumarv14](https://community.dynatrace.com/u/kumarv14)\
**Replies:** 4\
**Last updated:** [April 3, 2026, 10:22am UTC](https://community.dynatrace.com/t/need-to-extract-logs-on-behalf-of-opco-and-imsi-variable/55201 "2026-04-03T10:22:40Z")

</div>

Hello everyone and @krzysztof\_hoja , Can someone help me create a dashboard that uses two input values — Market (OpCo) and IMSI? I want the dashboard to accept these two values as variables, and then display the logs b…

---

## [Need hep in pulling nested json log line as seprate line with DPL](https://community.dynatrace.com/t/need-hep-in-pulling-nested-json-log-line-as-seprate-line-with-dpl/55450)

<div class="topic-metadata">

**Author:** [@Dest-Roh](https://community.dynatrace.com/u/Dest-Roh)\
**Replies:** 4\
**Last updated:** [April 3, 2026, 5:53am UTC](https://community.dynatrace.com/t/need-hep-in-pulling-nested-json-log-line-as-seprate-line-with-dpl/55450 "2026-04-03T05:53:46Z")

</div>

Hi Team i need an help in converting below nested json to multiple lines in log processing rule with DPL syntax but unfortunately i am unable to pull all record. Additinalinfo: DATA DETAILS: { “Report”:\[{“SessionID”:…

---

## [Pro Tip: Creating Lookup Tables using Investigations app](https://community.dynatrace.com/t/pro-tip-creating-lookup-tables-using-investigations-app/55398)

<div class="topic-metadata">

**Author:** [@Tiit\_Hallas](https://community.dynatrace.com/u/Tiit_Hallas)\
**Replies:** 0\
**Last updated:** [March 30, 2026, 7:30am UTC](https://community.dynatrace.com/t/pro-tip-creating-lookup-tables-using-investigations-app/55398 "2026-03-30T07:30:22Z")

</div>

Lookup tables in Dynatrace Grail® are a simple feature with serious leverage. They give your team a lightweight, maintainable way to enrich business context to your observability data at query time so your raw telemetry …

---

## [Parsing Logs for Concurrent Connections](https://community.dynatrace.com/t/parsing-logs-for-concurrent-connections/54482)

<div class="topic-metadata">

**Author:** [@idudneymitchell](https://community.dynatrace.com/u/idudneymitchell)\
**Replies:** 2\
**Last updated:** [February 26, 2026, 5:49pm UTC](https://community.dynatrace.com/t/parsing-logs-for-concurrent-connections/54482 "2026-02-26T17:49:00Z")

</div>

I have a query into my logs that looks something like this: fetch log | filter matchesValue(dt.entity.process\_group\_instance, “the-process-im-looking-at”) | parse content, “TIMESTAMP:DATETIME LD ’ 443 - ’ LD:REQADDR ’…

---

## [How do I get the last values of a string using the parse command?](https://community.dynatrace.com/t/how-do-i-get-the-last-values-of-a-string-using-the-parse-command/55033)

<div class="topic-metadata">

**Author:** [@badgerfifteen](https://community.dynatrace.com/u/badgerfifteen)\
**Replies:** 1\
**Last updated:** [February 18, 2026, 12:55pm UTC](https://community.dynatrace.com/t/how-do-i-get-the-last-values-of-a-string-using-the-parse-command/55033 "2026-02-18T12:55:48Z")

</div>

Hi, I’m having trouble understanding the DPL documentation. What I want to do is extract the last characters after a certain character, in this case it would be ‘/’. I am trying to extract just the filename from the str…

---

## [Pro-Tip: Simplify your DPL patterns with this experimental AI-powered CLI tool](https://community.dynatrace.com/t/pro-tip-simplify-your-dpl-patterns-with-this-experimental-ai-powered-cli-tool/54929)

<div class="topic-metadata">

**Author:** [@Maheedhar\_T](https://community.dynatrace.com/u/Maheedhar_T)\
**Replies:** 0\
**Last updated:** [February 9, 2026, 3:01pm UTC](https://community.dynatrace.com/t/pro-tip-simplify-your-dpl-patterns-with-this-experimental-ai-powered-cli-tool/54929 "2026-02-09T15:01:05Z")

</div>

Hi everyone! I’ve been spending some of my personal time lately exploring AI Agents (specifically OpenClaw) as a hobby. To see how these agents handle specific technical tasks, I decided to point one at a problem many o…

---

## [Filter Appended Time-Series by Tag Value Using DQL](https://community.dynatrace.com/t/filter-appended-time-series-by-tag-value-using-dql/54290)

<div class="topic-metadata">

**Author:** [@markj](https://community.dynatrace.com/u/markj)\
**Replies:** 3\
**Last updated:** [December 18, 2025, 10:26am UTC](https://community.dynatrace.com/t/filter-appended-time-series-by-tag-value-using-dql/54290 "2025-12-18T10:26:29Z")

</div>

I’ve been exploring DQL and trying to get a timeseries query working. It would be easier to query based on hard names but that’s too easy. The general idea is that I’m filtering for a message queue with a key value tag s…

---

## [Convert JSON Objects to DOUBLE or IPADDR Types Using DPL Rules](https://community.dynatrace.com/t/convert-json-objects-to-double-or-ipaddr-types-using-dpl-rules/48810)

<div class="topic-metadata">

**Author:** [@mosharref\_hossn](https://community.dynatrace.com/u/mosharref_hossn)\
**Replies:** 1\
**Last updated:** [December 17, 2025, 12:10pm UTC](https://community.dynatrace.com/t/convert-json-objects-to-double-or-ipaddr-types-using-dpl-rules/48810 "2025-12-17T12:10:29Z")

</div>

I have a log processing rule to capture the HTTP request header data. I want the data type to be DOUBLE for request size values and IPADDR for IPs. However, the data always gets parsed as STRING data type. Any options…

---

## [Change All Key Names in Data Sets Using DQL or DPL Queries](https://community.dynatrace.com/t/change-all-key-names-in-data-sets-using-dql-or-dpl-queries/53544)

<div class="topic-metadata">

**Author:** [@36Krazyfists](https://community.dynatrace.com/u/36Krazyfists)\
**Replies:** 2\
**Last updated:** [December 17, 2025, 11:16am UTC](https://community.dynatrace.com/t/change-all-key-names-in-data-sets-using-dql-or-dpl-queries/53544 "2025-12-17T11:16:50Z")

</div>

I’ve already got a K/V DPL that is extracting some data from a field into a JSON object where I will then dynamically parse the data into their own separate fields. However, before I parse them into their own fields, I’…

---

## [Masking sensitive data | OTEL](https://community.dynatrace.com/t/masking-sensitive-data-otel/54263)

<div class="topic-metadata">

**Author:** [@RPbiaggio](https://community.dynatrace.com/u/RPbiaggio)\
**Replies:** 5\
**Last updated:** [December 9, 2025, 11:50am UTC](https://community.dynatrace.com/t/masking-sensitive-data-otel/54263 "2025-12-09T11:50:09Z")

</div>

Guys, does anyone know of a way to mask sensitive data within the log content? The scenario is this: we have log ingestion, but the environment doesn’t use a oneagent; it’s all opentelemetry. There are several log forma…

---

## [Create an MTTD Tile in Dynatrace Dashboard Using DQL](https://community.dynatrace.com/t/create-an-mttd-tile-in-dynatrace-dashboard-using-dql/53565)

<div class="topic-metadata">

**Author:** [@sarfarazx01a](https://community.dynatrace.com/u/sarfarazx01a)\
**Replies:** 3\
**Last updated:** [December 9, 2025, 8:02am UTC](https://community.dynatrace.com/t/create-an-mttd-tile-in-dynatrace-dashboard-using-dql/53565 "2025-12-09T08:02:10Z")

</div>

Hi All, I’m working on a tile for Mean Time To Detect (MTTD) to detect the problem when it occurs first. I wrote a DQL query, but I think the query is not giving the correct results. Can anyone please assist me on this. …

---

## [Retrieve Entity IDs, Names, and Hosts Using DQL Queries](https://community.dynatrace.com/t/retrieve-entity-ids-names-and-hosts-using-dql-queries/54121)

<div class="topic-metadata">

**Author:** [@dwclogic](https://community.dynatrace.com/u/dwclogic)\
**Replies:** 2\
**Last updated:** [November 18, 2025, 11:05pm UTC](https://community.dynatrace.com/t/retrieve-entity-ids-names-and-hosts-using-dql-queries/54121 "2025-11-18T23:05:49Z")

</div>

I really thought this would be a breeze, but it’s proving to be a Very difficult list to generate. I was hoping to use in a Notebook or Dashboard

---

## [Extract multiple values from XML logs where field names may vary](https://community.dynatrace.com/t/extract-multiple-values-from-xml-logs-where-field-names-may-vary/54016)

<div class="topic-metadata">

**Author:** [@Kajao](https://community.dynatrace.com/u/Kajao)\
**Replies:** 1\
**Last updated:** [November 18, 2025, 10:39pm UTC](https://community.dynatrace.com/t/extract-multiple-values-from-xml-logs-where-field-names-may-vary/54016 "2025-11-18T22:39:53Z")

</div>

I have XML-based logs from an API integration that look like this (simplified example): 2025-11-03 09:00:01,445 lLv="INFO" \[\<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"\> \<soapenv:Header\> …

---

## [Fix DQL makeTimeseries Error: Parameter Must Be an Expression](https://community.dynatrace.com/t/fix-dql-maketimeseries-error-parameter-must-be-an-expression/54017)

<div class="topic-metadata">

**Author:** [@anujjain504](https://community.dynatrace.com/u/anujjain504)\
**Replies:** 1\
**Last updated:** [November 7, 2025, 2:34pm UTC](https://community.dynatrace.com/t/fix-dql-maketimeseries-error-parameter-must-be-an-expression/54017 "2025-11-07T14:34:13Z")

</div>

SPL: |chart values(Total) as Total by date\_hour,TimeDiffFinal DQL | makeTimeseries Total=collectDistinct(Total), by:{date\_hour, TimeDiffFinal}, time:LatestTime So, basically i have converted values into collectDistin…

---

## [DPL Matching Support - How do I just get the Application value?](https://community.dynatrace.com/t/dpl-matching-support-how-do-i-just-get-the-application-value/53613)

<div class="topic-metadata">

**Author:** [@badgerfifteen](https://community.dynatrace.com/u/badgerfifteen)\
**Replies:** 1\
**Last updated:** [October 5, 2025, 7:11pm UTC](https://community.dynatrace.com/t/dpl-matching-support-how-do-i-just-get-the-application-value/53613 "2025-10-05T19:11:33Z")

</div>

Hi, I’m trying to match SALESFORCE from the following output: \["Business Unit:FINANCE", "BU:FINANCE", "Application:SALESFORCE"\] I’m using this matcher below, but having trouble as it keeps giving me the "\] at the end.…

---

## [Parsing the Logs](https://community.dynatrace.com/t/parsing-the-logs/53458)

<div class="topic-metadata">

**Author:** [@Agoyals](https://community.dynatrace.com/u/Agoyals)\
**Replies:** 3\
**Last updated:** [September 24, 2025, 11:59am UTC](https://community.dynatrace.com/t/parsing-the-logs/53458 "2025-09-24T11:59:41Z")

</div>

I am bit in struggle of parsing the logs. Example log patten \<servername\>.taskmanager.\<servername\>:\<digits\>-1333b8.Status.Shuffle.Netty.UsedMemorySegments: 0 \<servername\>.taskmanager.\<servername\>:\<digits\>-1333b8.Statu…

---

## [Extract single line CSV data into multiple columns](https://community.dynatrace.com/t/extract-single-line-csv-data-into-multiple-columns/46939)

<div class="topic-metadata">

**Author:** [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Replies:** 3\
**Last updated:** [September 10, 2025, 8:06pm UTC](https://community.dynatrace.com/t/extract-single-line-csv-data-into-multiple-columns/46939 "2025-09-10T20:06:37Z")

</div>

Hi, I’m trying to get the data in a CSV log file split into separate columns, but I’m stuck with DQL/DPL. Any help would be super appreciated! Also, I assume I’d need a metric for each column if I want to get the value…

---

## [Parse xml from logs](https://community.dynatrace.com/t/parse-xml-from-logs/53265)

<div class="topic-metadata">

**Author:** [@marusla](https://community.dynatrace.com/u/marusla)\
**Replies:** 2\
**Last updated:** [September 9, 2025, 4:42am UTC](https://community.dynatrace.com/t/parse-xml-from-logs/53265 "2025-09-09T04:42:49Z")

</div>

Hello, i try to parse a xml, but i dont know how to doing, maybe do you have a steps, im trying with xml:xml but just extract a few lines Fecha: 2025-09-08 00:33:33 Respuesta: Casos 0 de Casos Tiempo: 0 Request: \<cas…

---

## [Rename column name dynamically using variable](https://community.dynatrace.com/t/rename-column-name-dynamically-using-variable/52960)

<div class="topic-metadata">

**Author:** [@susmita\_k](https://community.dynatrace.com/u/susmita_k)\
**Replies:** 1\
**Last updated:** [August 15, 2025, 8:21pm UTC](https://community.dynatrace.com/t/rename-column-name-dynamically-using-variable/52960 "2025-08-15T20:21:54Z")

</div>

Is there a way to rename a field dynamically ? I am creating a comparison dashboard, and need to show the column like column\_prod, column\_cap. But the environment is a variable and chosen by user. I am not able to rename…

---

## [DQL function replacing splunk command stats list](https://community.dynatrace.com/t/dql-function-replacing-splunk-command-stats-list/52754)

<div class="topic-metadata">

**Author:** [@susmita\_k](https://community.dynatrace.com/u/susmita_k)\
**Replies:** 1\
**Last updated:** [August 1, 2025, 5:39pm UTC](https://community.dynatrace.com/t/dql-function-replacing-splunk-command-stats-list/52754 "2025-08-01T17:39:59Z")

</div>

is there a DQL Command/function available which can replace the stats list command in splunk ? Thanks in advance

---

## [DPL extract single value and compare](https://community.dynatrace.com/t/dpl-extract-single-value-and-compare/52558)

<div class="topic-metadata">

**Author:** [@almog50](https://community.dynatrace.com/u/almog50)\
**Replies:** 1\
**Last updated:** [July 21, 2025, 4:17pm UTC](https://community.dynatrace.com/t/dpl-extract-single-value-and-compare/52558 "2025-07-21T16:17:36Z")

</div>

Hi, I have the following content: 2025-07-20T06:00:38.027Z INFO 1 --- \[db-monitor\] \[ main\] c.d.i.d.util.DbMonitorCommandLineRunner : Outbox monitor results for destination sql - SELECT COUNT(DISTINCT produ…

---

## [Conditional Parsing](https://community.dynatrace.com/t/conditional-parsing/45729)

<div class="topic-metadata">

**Author:** [@mario\_rwwa](https://community.dynatrace.com/u/mario_rwwa)\
**Replies:** 3\
**Last updated:** [July 11, 2025, 7:03pm UTC](https://community.dynatrace.com/t/conditional-parsing/45729 "2025-07-11T19:03:28Z")

</div>

Currently I’m dealing with a logfile which outputs different data depending on the action which has occurred, one parse statement cannot handle all the options so I have multiple parse statements. I need to combine it a…

---

## [Explore Practical DQL Use Cases for Advanced Observability](https://community.dynatrace.com/t/explore-practical-dql-use-cases-for-advanced-observability/52416)

<div class="topic-metadata">

**Author:** [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Replies:** 2\
**Last updated:** [July 9, 2025, 12:22pm UTC](https://community.dynatrace.com/t/explore-practical-dql-use-cases-for-advanced-observability/52416 "2025-07-09T12:22:05Z")

</div>

Dear Community Members, Thanks to the Dynatrace documentations and university. I’d appreciate providing practical use cases for better understanding and ease of application. KR, Peter

---

## [Need Help with String Extraction in DPL](https://community.dynatrace.com/t/need-help-with-string-extraction-in-dpl/52144)

<div class="topic-metadata">

**Author:** [@Akhil-Jayendran](https://community.dynatrace.com/u/Akhil-Jayendran)\
**Replies:** 2\
**Last updated:** [June 18, 2025, 8:43am UTC](https://community.dynatrace.com/t/need-help-with-string-extraction-in-dpl/52144 "2025-06-18T08:43:31Z")

</div>

Hello Team,I would like to extract only values matching the pattern \*appdevgw-\*\*\* from below sample logs data and assign them to a new field named HostName with capital letters, for example: HostName=DAPPDEVGW-001. Is …

---

## [Failures on processing logs](https://community.dynatrace.com/t/failures-on-processing-logs/51914)

<div class="topic-metadata">

**Author:** [@isi-consultor-m](https://community.dynatrace.com/u/isi-consultor-m)\
**Replies:** 1\
**Last updated:** [June 3, 2025, 8:25am UTC](https://community.dynatrace.com/t/failures-on-processing-logs/51914 "2025-06-03T08:25:48Z")

</div>

Hi Everyone, I’m trying to extract a field to convert it into a metric using processing logs. My log sample is: { “event.type”: “LOG”, “content”: “2025-06-02 15:17:19.015 -05:00 RegistrarProcesoTDAsync solicitado. P…

[Next page](https://community.dynatrace.com/tag/dpl/508.md?match_all_tags=true&page=1&tags%5B%5D=dpl)
