<?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 Dynatrace problem using log data everytime it reaches 10 hits in 24h in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283693#M2433</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Very nice solution!!! Thanks for sharing it!!!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;János&lt;/P&gt;</description>
    <pubDate>Tue, 12 Aug 2025 21:07:58 GMT</pubDate>
    <dc:creator>Mizső</dc:creator>
    <dc:date>2025-08-12T21:07:58Z</dc:date>
    <item>
      <title>Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283642#M2429</link>
      <description>&lt;P&gt;Hello, community!!&lt;/P&gt;&lt;P&gt;We need to create a problem everytime a log on Grail value is &amp;gt;= to setup number. We have been able to create the graphical representation in DQL:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF9900"&gt;fetch logs, from: -24h, scanLimitGBytes:1, samplingRatio:1&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#FF9900"&gt;| filter matchesValue(content, "*ranchdressing*") AND (offset1 &amp;gt;= "0.005" or offset2 &amp;gt;= "0.005")&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;But with traditional Metric Events we can only go up to 60 minutes (&lt;FONT color="#FF0000"&gt;&lt;EM&gt;after converting the DQL into a metric&lt;/EM&gt;&lt;/FONT&gt;)&lt;/P&gt;&lt;P&gt;Another problem is to convert the DQL above into a metric, with Openpipeline it won't accept the DQL as it is. We have tried several combinations, but we end up having to take the &amp;gt;= of in orther to get something, which is not useful.&lt;/P&gt;&lt;P&gt;With workflows we have the same problem, as we would need to convert, first, the DQL into an event.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 13:44:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283642#M2429</guid>
      <dc:creator>Puche</dc:creator>
      <dc:date>2025-08-12T13:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283684#M2431</link>
      <description>&lt;P&gt;Have you tried to set up the Davis Anomaly Detection for that?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/platform/davis-ai/anomaly-detection/set-up-a-customized-anomaly-detector/use-cases/create-alert-in-logs" target="_blank"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/platform/davis-ai/anomaly-detection/set-up-a-customized-anomaly-detector/use-cases/create-alert-in-logs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Wondering if the 24h as timeframe will be a problem here.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 19:00:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283684#M2431</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2025-08-12T19:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283689#M2432</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/18264"&gt;@dannemca&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/43982"&gt;@Puche&lt;/a&gt;&amp;nbsp;, I believe the best approach here is using Site Reliability Guardian for that. You need to setup&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;a SRG which checks the logs&lt;/LI&gt;&lt;LI&gt;a simple workflow to trigger the SRG every 24 hours (or every hour based on your preference)&lt;/LI&gt;&lt;LI&gt;create an openpipeline for your SRG and have a data extraction rule in openpipeline for davis event to open a problem when SRG results are failed&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This approach is effective and works well for evaluating any data, not just logs.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 20:07:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283689#M2432</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-08-12T20:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283693#M2433</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Very nice solution!!! Thanks for sharing it!!!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;János&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 21:07:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283693#M2433</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2025-08-12T21:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283711#M2434</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;,&amp;nbsp;thanks for your answer but the same DQL that works with Dashboard or workflow, doesn't work with SRG.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Puche_0-1755071270300.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29562i38F5098AE169474A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Puche_0-1755071270300.png" alt="Puche_0-1755071270300.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is a handicap, we need to redo queries, instead of copy and paste.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 07:49:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283711#M2434</guid>
      <dc:creator>Puche</dc:creator>
      <dc:date>2025-08-13T07:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283723#M2436</link>
      <description>&lt;P&gt;What do you want to evaluate? Count of such logs? In that case you just need to add summarize to your query.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 10:14:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283723#M2436</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-08-13T10:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283729#M2439</link>
      <description>&lt;P&gt;Indeed a Dynatrace Master!!!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":man_teacher:"&gt;👨‍🏫&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 12:19:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283729#M2439</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2025-08-13T12:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283733#M2441</link>
      <description>&lt;P&gt;Yes, counts of such logs, but only for values that are &amp;gt;= than 0.005 on either of two variable (offsets). And that every time it reaches 10 over 24h it creates a problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We were expecting that if a DQL query works for a Dashboard or a workflow, it should work for other DQL request such as SRG, log metric extraction or Openpipeline.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 12:31:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283733#M2441</guid>
      <dc:creator>Puche</dc:creator>
      <dc:date>2025-08-13T12:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283735#M2442</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/43982"&gt;@Puche&lt;/a&gt;&amp;nbsp; yes it works, but for SRG needs a value - just like a metric. You can also do that by creating a log metric and evaluating that.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In your case you probably want:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch logs
| filter matchesValue(content, "*ranchdressing*") AND (offset1 &amp;gt;= "0.005" or offset2 &amp;gt;= "0.005")
| summarize count()&lt;/LI-CODE&gt;&lt;P&gt;This will output just a single number of log lines with the conditions above. I also removed the from, sampling, etc. as it will be handled by SRG.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 12:55:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283735#M2442</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-08-13T12:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283744#M2444</link>
      <description>&lt;P&gt;Thank you very much, that works now to create the SRG. I'll keep on working on your other tips and I'll let you know the results.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 14:05:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/283744#M2444</guid>
      <dc:creator>Puche</dc:creator>
      <dc:date>2025-08-13T14:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/284055#M2468</link>
      <description>&lt;P&gt;The workflow with the SRG has worked and fulfilled the needs of the petitions.&lt;/P&gt;&lt;P&gt;But some other doubts have come across during this process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is necessary to create an SRG for the workflow instead of just using and execution of a DQL?&lt;/P&gt;&lt;P&gt;And another question is How can you use the SRG to create a pipeline in Openpipeline, as you mention in step 3?&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 10:55:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/284055#M2468</guid>
      <dc:creator>Puche</dc:creator>
      <dc:date>2025-08-18T10:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/284058#M2469</link>
      <description>&lt;P&gt;summarize count to provide a single value&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 12:29:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/284058#M2469</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2025-08-18T12:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/284074#M2470</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/43982"&gt;@Puche&lt;/a&gt;, sure, it's possible to do that using workflow only. But workflows are, from my experience, too costly for that (260$/year for a single workflow in list prices) and they don't leave much historical track record for evaluations. I believe SRG is the way to do it.&lt;BR /&gt;&lt;BR /&gt;SRG sends bizevents with the results and evaluations. You create an OpenPipeline pipepile for those bizevents, and there you can create a Davis event - essentially triggering a problem opening event.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 13:20:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/284074#M2470</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-08-18T13:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Dynatrace problem using log data everytime it reaches 10 hits in 24h</title>
      <link>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/284181#M2473</link>
      <description>&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 11:03:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Create-a-Dynatrace-problem-using-log-data-everytime-it-reaches/m-p/284181#M2473</guid>
      <dc:creator>Puche</dc:creator>
      <dc:date>2025-08-19T11:03:31Z</dc:date>
    </item>
  </channel>
</rss>

