<?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: Log Metrics Extraction with a contains clause in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Log-Metrics-Extraction-with-a-contains-clause/m-p/258098#M1292</link>
    <description>&lt;P&gt;&amp;nbsp;I tried to do something similar and it does not throw a error in SaaS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_devulapalli_0-1728002643994.png" style="width: 641px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23218iC920612DB3C629AD/image-dimensions/641x197?v=v2" width="641" height="197" role="button" title="p_devulapalli_0-1728002643994.png" alt="p_devulapalli_0-1728002643994.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the managed docs , the procedure seems bit different if you are not on grail. Not sure if that's causing the issue here in managed&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/managed/observe-and-explore/log-monitoring/analyze-log-data/log-metrics" target="_blank"&gt;https://docs.dynatrace.com/managed/observe-and-explore/log-monitoring/analyze-log-data/log-metrics&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2024 01:02:10 GMT</pubDate>
    <dc:creator>p_devulapalli</dc:creator>
    <dc:date>2024-10-04T01:02:10Z</dc:date>
    <item>
      <title>Log Metrics Extraction with a contains clause</title>
      <link>https://community.dynatrace.com/t5/DQL/Log-Metrics-Extraction-with-a-contains-clause/m-p/258091#M1289</link>
      <description>&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/observe-and-explore/logs/lma-log-processing-matcher" target="_blank" rel="noopener"&gt;DQL matcher in logs - Dynatrace Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Why can I not, according to the documentation, use:&lt;/P&gt;
&lt;P&gt;log.source = "mytest" and matchesPhrase(content, "Some text") to create a log metric from a log file.&lt;/P&gt;
&lt;P&gt;I get a LWL Validation error: first invalid character at the (&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 06:48:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Log-Metrics-Extraction-with-a-contains-clause/m-p/258091#M1289</guid>
      <dc:creator>dcole66</dc:creator>
      <dc:date>2024-10-04T06:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Log Metrics Extraction with a contains clause</title>
      <link>https://community.dynatrace.com/t5/DQL/Log-Metrics-Extraction-with-a-contains-clause/m-p/258094#M1290</link>
      <description>&lt;P&gt;I think you should use the &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;==&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;can you please try changing&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;log.source &lt;FONT color="#0000FF"&gt;==&lt;/FONT&gt; "mytest" and matchesPhrase(content, "Some text")&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 23:52:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Log-Metrics-Extraction-with-a-contains-clause/m-p/258094#M1290</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2024-10-03T23:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Log Metrics Extraction with a contains clause</title>
      <link>https://community.dynatrace.com/t5/DQL/Log-Metrics-Extraction-with-a-contains-clause/m-p/258096#M1291</link>
      <description>&lt;P&gt;It wasn't happy about that.&amp;nbsp; &amp;nbsp; Complaining about the 2nd = symbol.&lt;/P&gt;&lt;P&gt;I note the document is for DQL.&amp;nbsp; But in the error, this is complaining about LQL.&amp;nbsp; Are these different?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is from the Creation of a log metric page under log monitoring.&amp;nbsp; On a managed instance (with no grail).&amp;nbsp; The documentation does not have many references for LQL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 00:03:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Log-Metrics-Extraction-with-a-contains-clause/m-p/258096#M1291</guid>
      <dc:creator>dcole66</dc:creator>
      <dc:date>2024-10-04T00:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Log Metrics Extraction with a contains clause</title>
      <link>https://community.dynatrace.com/t5/DQL/Log-Metrics-Extraction-with-a-contains-clause/m-p/258098#M1292</link>
      <description>&lt;P&gt;&amp;nbsp;I tried to do something similar and it does not throw a error in SaaS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_devulapalli_0-1728002643994.png" style="width: 641px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23218iC920612DB3C629AD/image-dimensions/641x197?v=v2" width="641" height="197" role="button" title="p_devulapalli_0-1728002643994.png" alt="p_devulapalli_0-1728002643994.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the managed docs , the procedure seems bit different if you are not on grail. Not sure if that's causing the issue here in managed&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/managed/observe-and-explore/log-monitoring/analyze-log-data/log-metrics" target="_blank"&gt;https://docs.dynatrace.com/managed/observe-and-explore/log-monitoring/analyze-log-data/log-metrics&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 01:02:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Log-Metrics-Extraction-with-a-contains-clause/m-p/258098#M1292</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2024-10-04T01:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Log Metrics Extraction with a contains clause</title>
      <link>https://community.dynatrace.com/t5/DQL/Log-Metrics-Extraction-with-a-contains-clause/m-p/258106#M1293</link>
      <description>&lt;P&gt;As Phani mentioned there are some pretty big differences between managed and SaaS. In managed there is no DQL or Grail and there is different documentation available. docs.dynatrace.com is for SaaS whereas docs.dyntrace.com/managed/ is for managed. For the query syntax you can find that here&amp;nbsp;&lt;A href="https://docs.dynatrace.com/managed/observe-and-explore/log-monitoring/analyze-log-data/log-viewer#sql" target="_blank"&gt;https://docs.dynatrace.com/managed/observe-and-explore/log-monitoring/analyze-log-data/log-viewer#sql&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If a UI element in managed took you to the wrong docs it would be good to raise this with support so that it can be rectified.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 04:38:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Log-Metrics-Extraction-with-a-contains-clause/m-p/258106#M1293</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2024-10-04T04:38:59Z</dc:date>
    </item>
  </channel>
</rss>

