<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create a Metric from a value other than DQL Matcher in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/291860#M2955</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/67399"&gt;@IzabelaRokita&lt;/a&gt;&amp;nbsp;I've created this &lt;A href="https://community.dynatrace.com/t5/Product-ideas/Custom-Metrics-created-from-Raw-DQL/idi-p/233074" target="_self"&gt;idea&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Dec 2025 18:03:04 GMT</pubDate>
    <dc:creator>DanielS</dc:creator>
    <dc:date>2025-12-18T18:03:04Z</dc:date>
    <item>
      <title>Create a Metric from a value other than DQL Matcher</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/248027#M971</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;
&lt;P&gt;I need to create a metric from a value using the countDistinct function and to save that value over time, the DQL query is the following:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;fetch logs
| FILTER matchesValue(k8s.container.name, "onboarding-service") AND matchesPhrase(content, "\"result\":\"ok\",\"step\":\"cvu\"") AND matchesPhrase(content, "triggering next step with state machine")
| summarize countDistinct(client.id), alias: CvuCreadoPorCliente&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;but metric extraction only supports &lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-log-processing-matcher" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/lma-log-processing-matcher&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;any other idea to do this?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 14:25:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/248027#M971</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2025-12-18T14:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Metric from a value other than DQL Matcher</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/250607#M1046</link>
      <description>&lt;P&gt;any update please for this or any summarization in log processing (some example etc)?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 08:37:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/250607#M1046</guid>
      <dc:creator>_r_k_</dc:creator>
      <dc:date>2024-07-15T08:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Metric from a value other than DQL Matcher</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/250667#M1049</link>
      <description>&lt;P&gt;I can imagine some possible solutions (or rather workarounds)....&lt;BR /&gt;What is the cardinality of&amp;nbsp;client.id? How many of them are active in the same moment (e.g. in 1 minute)? What is the desired time resolution for this metric (does it have to be 1 minute or maybe 1h is good enough?)&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 19:48:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/250667#M1049</guid>
      <dc:creator>krzysztof_hoja</dc:creator>
      <dc:date>2024-07-15T19:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Metric from a value other than DQL Matcher</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/250714#M1050</link>
      <description>&lt;P&gt;if you are thinking about recreating timestamps based on interval and timespan it is too crazy to be used for dynamic dashboards&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 06:49:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/250714#M1050</guid>
      <dc:creator>_r_k_</dc:creator>
      <dc:date>2024-07-16T06:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Metric from a value other than DQL Matcher</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/250797#M1056</link>
      <description>&lt;P&gt;Not thinking about it at all....&lt;BR /&gt;&lt;BR /&gt;But answering your question regarding examples for summarization in log processing:&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/observe-and-explore/logs/lma-use-cases/lma-e2e-create-log-metric#lma-uc-create-connections-refused-metric" target="_blank"&gt;https://docs.dynatrace.com/docs/observe-and-explore/logs/lma-use-cases/lma-e2e-create-log-metric#lma-uc-create-connections-refused-metric&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or if you use OpenPipeline already:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/platform/openpipeline/use-cases/tutorial-log-processing-pipeline" target="_blank"&gt;https://docs.dynatrace.com/docs/platform/openpipeline/use-cases/tutorial-log-processing-pipeline&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;My question was toward: how we can use supported summarizations (sum or count) to get data with reduced volume enough but still detailed enough to calculate countDistinct&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 16:05:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/250797#M1056</guid>
      <dc:creator>krzysztof_hoja</dc:creator>
      <dc:date>2024-07-16T16:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Metric from a value other than DQL Matcher</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/259474#M1337</link>
      <description>&lt;P&gt;I have a similar challenge. I would like to create a Metric for "SynchronizationTime" it is the sum of&amp;nbsp;&lt;/P&gt;&lt;P&gt;(ResponseTimestamp - EventTimestamp)/1000&lt;/P&gt;&lt;P&gt;My DQL running directly on the Logs looks like this:&lt;/P&gt;&lt;P&gt;fetch logs&lt;BR /&gt;| filter query.name == "IntegrationLog"&lt;BR /&gt;| fieldsAdd Synctime = (c_ResponseTimestamp__c-c_EventTimestamp__c)/1000&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 12:50:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/259474#M1337</guid>
      <dc:creator>ANLTH</dc:creator>
      <dc:date>2024-10-16T12:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Metric from a value other than DQL Matcher</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/283233#M2415</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi there!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We’re working on a metric to count distinct users per page. We initially tried using UserId and Page.name as dimensions, but ran into issues with high cardinality.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Would you be open to sharing any ideas or suggestions on how we might approach this more efficiently?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 03:25:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/283233#M2415</guid>
      <dc:creator>wellpplava</dc:creator>
      <dc:date>2025-08-07T03:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Metric from a value other than DQL Matcher</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/291845#M2952</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/35788"&gt;@DanielS&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/63301"&gt;@ANLTH&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 14:25:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/291845#M2952</guid>
      <dc:creator>IzabelaRokita</dc:creator>
      <dc:date>2025-12-18T14:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Metric from a value other than DQL Matcher</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/291860#M2955</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/67399"&gt;@IzabelaRokita&lt;/a&gt;&amp;nbsp;I've created this &lt;A href="https://community.dynatrace.com/t5/Product-ideas/Custom-Metrics-created-from-Raw-DQL/idi-p/233074" target="_self"&gt;idea&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 18:03:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Metric-from-a-value-other-than-DQL-Matcher/m-p/291860#M2955</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2025-12-18T18:03:04Z</dc:date>
    </item>
  </channel>
</rss>

