# DQL

**URL:** https://community.dynatrace.com/c/platform/dql/83.md?page=12

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

**Page:** 13

---

## [Parse content issue](https://community.dynatrace.com/t/parse-content-issue/52103)

<div class="topic-metadata">

**Author:** [@Vardhan47](https://community.dynatrace.com/u/Vardhan47)\
**Replies:** 2\
**Last updated:** [July 7, 2025, 7:20am UTC](https://community.dynatrace.com/t/parse-content-issue/52103 "2025-07-07T07:20:17Z")

</div>

HI All, I\`m getting syslogs from 2 different devices, which there is slight vary in the data due to which i\`m not able to parse both logs in the same query as either 1 will give “data” & other will show as “null” I\`m l…

---

## [Dashboard for the application](https://community.dynatrace.com/t/dashboard-for-the-application/52343)

<div class="topic-metadata">

**Author:** [@khan\_82](https://community.dynatrace.com/u/khan_82)\
**Replies:** 1\
**Last updated:** [July 6, 2025, 2:03pm UTC](https://community.dynatrace.com/t/dashboard-for-the-application/52343 "2025-07-06T14:03:37Z")

</div>

I’d like to create a dashboard using DQL to monitor critical services and processes such as IIS, MSSQL, RabbitMQ, and others. The dashboard will display each service’s availability, CPU usage, memory consumption, and to…

---

## [Creating a time series from static data](https://community.dynatrace.com/t/creating-a-time-series-from-static-data/52277)

<div class="topic-metadata">

**Author:** [@ian\_molyneaux1](https://community.dynatrace.com/u/ian_molyneaux1)\
**Replies:** 2\
**Last updated:** [July 4, 2025, 9:53am UTC](https://community.dynatrace.com/t/creating-a-time-series-from-static-data/52277 "2025-07-04T09:53:18Z")

</div>

Hi, If I have the following data record structure how can I create a timeseries from the content? I just want to display each value in a bar graph - the timeseries interval is irrelevant in this case. data record (D1 =…

---

## [Issue getting records from events attribute](https://community.dynatrace.com/t/issue-getting-records-from-events-attribute/52019)

<div class="topic-metadata">

**Author:** [@nisah](https://community.dynatrace.com/u/nisah)\
**Replies:** 2\
**Last updated:** [June 25, 2025, 6:54pm UTC](https://community.dynatrace.com/t/issue-getting-records-from-events-attribute/52019 "2025-06-25T18:54:35Z")

</div>

suites:{“name”:“tests \> GetByVINTest”,“count”:13,“passed”:10,“failed”:3,“skipped”:0}, {“name”:“tests \> SearchEngineTest”,“count”:70,“passed”:70,“failed”:0,“skipped”:0}, {“name”:“tests \> VinCheckTest”,“count”:11,“passed”:…

---

## [Problems tied with notifications via DQL](https://community.dynatrace.com/t/problems-tied-with-notifications-via-dql/52205)

<div class="topic-metadata">

**Author:** [@SrikanthSamraj](https://community.dynatrace.com/u/SrikanthSamraj)\
**Replies:** 2\
**Last updated:** [June 25, 2025, 1:02pm UTC](https://community.dynatrace.com/t/problems-tied-with-notifications-via-dql/52205 "2025-06-25T13:02:22Z")

</div>

Hi, I understand that using DQL, we will be able to fetch associated alerting profiles for problems. Is it also possible to avail problem notification names along with that? Regards, Srikanth

---

## [Transposing the service ID with its name using DQL](https://community.dynatrace.com/t/transposing-the-service-id-with-its-name-using-dql/52215)

<div class="topic-metadata">

**Author:** [@walkadda](https://community.dynatrace.com/u/walkadda)\
**Replies:** 2\
**Last updated:** [June 24, 2025, 5:22pm UTC](https://community.dynatrace.com/t/transposing-the-service-id-with-its-name-using-dql/52215 "2025-06-24T17:22:31Z")

</div>

I have the following DQL query in my dashboard: fetch dt.entity.host | fields entity.name, runs | fieldsFlatten runs | filter in(runs.dt.entity.service, $services) | fields entity.name, runs.dt.entity.service The $serv…

---

## [Extract data](https://community.dynatrace.com/t/extract-data/52187)

<div class="topic-metadata">

**Author:** [@marusla](https://community.dynatrace.com/u/marusla)\
**Replies:** 2\
**Last updated:** [June 23, 2025, 3:57pm UTC](https://community.dynatrace.com/t/extract-data/52187 "2025-06-23T15:57:05Z")

</div>

Hello i have this text, someone could help me to extract data from this column: datos=%7B%22fecha%22%3A%2220250620110916%22%2C%22fechaFinal%22%3A%2220250620%22%2C%22data%22%3A%22056%22%2C%22secuencia%22%3A%22150222%22%2C…

---

## [Is it possible to create an alert when no readers/consumers on the IBM queues?](https://community.dynatrace.com/t/is-it-possible-to-create-an-alert-when-no-readers-consumers-on-the-ibm-queues/51992)

<div class="topic-metadata">

**Author:** [@Sisapy09](https://community.dynatrace.com/u/Sisapy09)\
**Replies:** 3\
**Last updated:** [June 18, 2025, 12:38pm UTC](https://community.dynatrace.com/t/is-it-possible-to-create-an-alert-when-no-readers-consumers-on-the-ibm-queues/51992 "2025-06-18T12:38:55Z")

</div>

if we can find consumer service count for queue with DQL also will be available. if anyone knows, please guide me

---

## [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 …

---

## [DQL - column with the number of request count that are greater than value of other column](https://community.dynatrace.com/t/dql-column-with-the-number-of-request-count-that-are-greater-than-value-of-other-column/52086)

<div class="topic-metadata">

**Author:** [@sa\_gopalm](https://community.dynatrace.com/u/sa_gopalm)\
**Replies:** 3\
**Last updated:** [June 16, 2025, 2:03pm UTC](https://community.dynatrace.com/t/dql-column-with-the-number-of-request-count-that-are-greater-than-value-of-other-column/52086 "2025-06-16T14:03:41Z")

</div>

timeseries { value. A = avg(dt.service.request.response\_time, scalar: true), value. B = min(dt.service.request.response\_time, scalar: true), value. C = max(dt.service.request.response\_time, scalar: true), value. D = p…

---

## [DQL alert if log content is not found](https://community.dynatrace.com/t/dql-alert-if-log-content-is-not-found/52100)

<div class="topic-metadata">

**Author:** [@sivart\_89](https://community.dynatrace.com/u/sivart_89)\
**Replies:** 3\
**Last updated:** [June 16, 2025, 12:53pm UTC](https://community.dynatrace.com/t/dql-alert-if-log-content-is-not-found/52100 "2025-06-16T12:53:21Z")

</div>

I’m trying to create 1 single alert (rather than 3 different ones) to alert if a particular log message is not found in my lambda log. I plan to run this via a workflow daily to alert if the message is not found for that…

---

## [How can I Overlay bar chart on a line chart?](https://community.dynatrace.com/t/how-can-i-overlay-bar-chart-on-a-line-chart/52093)

<div class="topic-metadata">

**Author:** [@virdavindersing](https://community.dynatrace.com/u/virdavindersing)\
**Replies:** 1\
**Last updated:** [June 13, 2025, 9:39pm UTC](https://community.dynatrace.com/t/how-can-i-overlay-bar-chart-on-a-line-chart/52093 "2025-06-13T21:39:42Z")

</div>

please help me with this query fetch spans, samplingRatio: 1, scanLimitGBytes: 500// if in “requests” mode| filter request.is\_root\_span == true AND isNotNull(endpoint.name)// based on the applied filters| filter in(\`dt.…

---

## [timeseries result by tag](https://community.dynatrace.com/t/timeseries-result-by-tag/39772)

<div class="topic-metadata">

**Author:** [@Stephen1\_Lee](https://community.dynatrace.com/u/Stephen1_Lee)\
**Replies:** 6\
**Last updated:** [June 13, 2025, 11:27am UTC](https://community.dynatrace.com/t/timeseries-result-by-tag/39772 "2025-06-13T11:27:50Z")

</div>

Hi. Using DQL how to retrieve timeseries cpu for hosts by tag and then get the max of those hosts. My syntax isn’t correct. timeseries memory=avg(dt.host.cpu.usage),by:{dt.entity.host}, interval:1h | lookup \[fetch dt.…

---

## [Entity Tags DQL](https://community.dynatrace.com/t/entity-tags-dql/52056)

<div class="topic-metadata">

**Author:** [@Pablo2](https://community.dynatrace.com/u/Pablo2)\
**Replies:** 1\
**Last updated:** [June 12, 2025, 4:24pm UTC](https://community.dynatrace.com/t/entity-tags-dql/52056 "2025-06-12T16:24:51Z")

</div>

I have a DQL that shows a series of fields that I am interested in, one of them is entity\_tags.But I only want one of the tags to appear in that field, not all of them (if it has that tag) otherwise I want an empty or nu…

---

## [DQL for gathering all hosts in a specific environment](https://community.dynatrace.com/t/dql-for-gathering-all-hosts-in-a-specific-environment/52035)

<div class="topic-metadata">

**Author:** [@nq44](https://community.dynatrace.com/u/nq44)\
**Replies:** 2\
**Last updated:** [June 11, 2025, 6:10pm UTC](https://community.dynatrace.com/t/dql-for-gathering-all-hosts-in-a-specific-environment/52035 "2025-06-11T18:10:29Z")

</div>

I’m trying to gather all the hosts but only this specific environment. What would be a good DQL for that?

---

## [Extract specific value/pattern from log file](https://community.dynatrace.com/t/extract-specific-value-pattern-from-log-file/52025)

<div class="topic-metadata">

**Author:** [@Agoyals](https://community.dynatrace.com/u/Agoyals)\
**Replies:** 3\
**Last updated:** [June 11, 2025, 12:55pm UTC](https://community.dynatrace.com/t/extract-specific-value-pattern-from-log-file/52025 "2025-06-11T12:55:18Z")

</div>

Hi , I am new to Dynatrace and looking to explore logs. Looking for help to extract specific value from logs. Query fetch logs | filter dt.host\_group.id == “XXXX” AND log.file.path == “XXXXX” Example log content \[2…

---

## [Property to monitor the injection state of OneAgent using DQL.](https://community.dynatrace.com/t/property-to-monitor-the-injection-state-of-oneagent-using-dql/51991)

<div class="topic-metadata">

**Author:** [@YeudyGomez](https://community.dynatrace.com/u/YeudyGomez)\
**Replies:** 1\
**Last updated:** [June 9, 2025, 5:08pm UTC](https://community.dynatrace.com/t/property-to-monitor-the-injection-state-of-oneagent-using-dql/51991 "2025-06-09T17:08:41Z")

</div>

Good morning comunity, I hope you’re all well. Is there a process property available in DQL that allows me to identify processes that have not been restarted yet, in order to enable in-depth monitoring?

---

## [Adding a filter in timeseries gives strange effect, is it a bug or is it a feature?](https://community.dynatrace.com/t/adding-a-filter-in-timeseries-gives-strange-effect-is-it-a-bug-or-is-it-a-feature/51950)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 4\
**Last updated:** [June 6, 2025, 8:06am UTC](https://community.dynatrace.com/t/adding-a-filter-in-timeseries-gives-strange-effect-is-it-a-bug-or-is-it-a-feature/51950 "2025-06-06T08:06:19Z")

</div>

Good morning, Look at below example: timeseries { new = sum(dt.process.network.sessions.new), {reset = sum(dt.process.network.sessions.reset), filter: dt.entity.host==“HOST-XYX”}, {timeout = su…

---

## [Combining timeseries, can this be done](https://community.dynatrace.com/t/combining-timeseries-can-this-be-done/51937)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 5\
**Last updated:** [June 4, 2025, 9:34pm UTC](https://community.dynatrace.com/t/combining-timeseries-can-this-be-done/51937 "2025-06-04T21:34:23Z")

</div>

Hello, What if you have to time series and you want to add/subtract them to create a new one… Can this be done, or a I over asking? KR Henk

---

## [Join DQL fields](https://community.dynatrace.com/t/join-dql-fields/51926)

<div class="topic-metadata">

**Author:** [@Pablo2](https://community.dynatrace.com/u/Pablo2)\
**Replies:** 2\
**Last updated:** [June 3, 2025, 10:09pm UTC](https://community.dynatrace.com/t/join-dql-fields/51926 "2025-06-03T22:09:04Z")

</div>

I have the following DQL with which I get information about the hosts and the activity of their services. timeseries avg(dt.osservice.availability) by: { host.name, dt.osservice.status, dt.osservice.startup\_type, dt.os…

---

## [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…

---

## [Creating your own data tables in Grail](https://community.dynatrace.com/t/creating-your-own-data-tables-in-grail/49258)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 4\
**Last updated:** [June 2, 2025, 8:01am UTC](https://community.dynatrace.com/t/creating-your-own-data-tables-in-grail/49258 "2025-06-02T08:01:26Z")

</div>

Hello all, To make it simple, you can not create your own tables in Grail, these are all defined by Dynatrace like a kind of templates. What you can do is play with buckets and access rules… Am I correct? KR Henk

---

## [How to get Error Inspector information using DQL](https://community.dynatrace.com/t/how-to-get-error-inspector-information-using-dql/51827)

<div class="topic-metadata">

**Author:** [@heramb\_sawant](https://community.dynatrace.com/u/heramb_sawant)\
**Replies:** 7\
**Last updated:** [May 30, 2025, 4:59pm UTC](https://community.dynatrace.com/t/how-to-get-error-inspector-information-using-dql/51827 "2025-05-30T16:59:40Z")

</div>

HI , I want to extract error information ( error occurrence , affected users, etc ) of one front end web application , which is seen in “Error Inspector” page using DQL .Can somebody help me , how to write dql for…

---

## [Service Flow dashboard](https://community.dynatrace.com/t/service-flow-dashboard/51855)

<div class="topic-metadata">

**Author:** [@Ganeshmete77](https://community.dynatrace.com/u/Ganeshmete77)\
**Replies:** 1\
**Last updated:** [May 28, 2025, 12:14pm UTC](https://community.dynatrace.com/t/service-flow-dashboard/51855 "2025-05-28T12:14:12Z")

</div>

Is there way to create a dashboard for service flow?

---

## [Using a wildcard in DPL and matchesPattern()](https://community.dynatrace.com/t/using-a-wildcard-in-dpl-and-matchespattern/51776)

<div class="topic-metadata">

**Author:** [@Irvin\_naylor01](https://community.dynatrace.com/u/Irvin_naylor01)\
**Replies:** 2\
**Last updated:** [May 23, 2025, 4:33pm UTC](https://community.dynatrace.com/t/using-a-wildcard-in-dpl-and-matchespattern/51776 "2025-05-23T16:33:55Z")

</div>

Hi all, I’ve been diving into DPL and the matchesPattern() function to get around the lack of regex in filtering DQL results, so far all is well but I’m running into an issue. Say for example, I’m filtering a set of ho…

---

## [Implementing Custom Functions to use in DQL](https://community.dynatrace.com/t/implementing-custom-functions-to-use-in-dql/51762)

<div class="topic-metadata">

**Author:** [@shapu](https://community.dynatrace.com/u/shapu)\
**Replies:** 1\
**Last updated:** [May 22, 2025, 2:23pm UTC](https://community.dynatrace.com/t/implementing-custom-functions-to-use-in-dql/51762 "2025-05-22T14:23:48Z")

</div>

I am current replicating a function in Splunk to use in my Dynatrace queries. I have replicated the functionality but through the method below: 1. Create a code block segment 2. call the DQL query inside code block u…

---

## [Fetch Data by Called Service Using DQL Queries](https://community.dynatrace.com/t/fetch-data-by-called-service-using-dql-queries/49719)

<div class="topic-metadata">

**Author:** [@tarun\_kumar\_aga](https://community.dynatrace.com/u/tarun_kumar_aga)\
**Replies:** 1\
**Last updated:** [May 21, 2025, 9:08am UTC](https://community.dynatrace.com/t/fetch-data-by-called-service-using-dql-queries/49719 "2025-05-21T09:08:25Z")

</div>

Hi we are noticing high latency in service B, when request called by from service A. We want to plot timeseries graph for serviceB when the request comes from serviceA & show how many requests taking more than 300ms to …

---

## [Monitoring stopped on a shutdown host, disappears from dashboard](https://community.dynatrace.com/t/monitoring-stopped-on-a-shutdown-host-disappears-from-dashboard/51009)

<div class="topic-metadata">

**Author:** [@m\_laurie\_az](https://community.dynatrace.com/u/m_laurie_az)\
**Replies:** 3\
**Last updated:** [May 21, 2025, 8:51am UTC](https://community.dynatrace.com/t/monitoring-stopped-on-a-shutdown-host-disappears-from-dashboard/51009 "2025-05-21T08:51:29Z")

</div>

There was a host entity that shutdown due to power issues and the agent stopped reporting data back from the host. Instead of it’s availability state changing, it drops off the dashboard completely as if the query isn’t …

---

## [How to get process availability using DQL](https://community.dynatrace.com/t/how-to-get-process-availability-using-dql/51702)

<div class="topic-metadata">

**Author:** [@heramb\_sawant](https://community.dynatrace.com/u/heramb_sawant)\
**Replies:** 3\
**Last updated:** [May 21, 2025, 7:26am UTC](https://community.dynatrace.com/t/how-to-get-process-availability-using-dql/51702 "2025-05-21T07:26:21Z")

</div>

Hi , I need help to built DQL to get process availability in % , Can somebody please help on this. Regards, Heramb Sawant

---

## [parsing issue](https://community.dynatrace.com/t/parsing-issue/51659)

<div class="topic-metadata">

**Author:** [@sharmas2](https://community.dynatrace.com/u/sharmas2)\
**Replies:** 5\
**Last updated:** [May 20, 2025, 8:47pm UTC](https://community.dynatrace.com/t/parsing-issue/51659 "2025-05-20T20:47:52Z")

</div>

I am looking for an ouput as below . market Total albania czech ghana greece ireland itfixednw netherlands nlziggo portugal spain uk uklm voisind Blocked 9001175 10836 56008 1416856 432310 1519 5290800 501189 45 …

[Previous page](https://community.dynatrace.com/c/platform/dql/83.md?page=11)

[Next page](https://community.dynatrace.com/c/platform/dql/83.md?page=13)
