<?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 processing rule in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/236109#M605</link>
    <description>&lt;P&gt;It turns out that I had to include other data in the sample section, ie, not only 'content'. The easiest way is to create a new rule from the logs and events screen by clicking "Create processing rule", which brings the necessary sample data automatically.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2024 07:56:59 GMT</pubDate>
    <dc:creator>tjay</dc:creator>
    <dc:date>2024-02-02T07:56:59Z</dc:date>
    <item>
      <title>Log processing rule</title>
      <link>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/235894#M598</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to parse an Apache log file, but "Test the rule" complains with "The matcher query doesn't match the provided log sample". Can someone tell why?&lt;/P&gt;&lt;P&gt;Process definition&lt;/P&gt;&lt;P&gt;PARSE(content, "IPADDR:'net.peer.ip'&lt;BR /&gt;SPACE&lt;BR /&gt;IPADDR:'net.proxy.ip'&lt;BR /&gt;' - '&lt;BR /&gt;LD:'enduser.id'&lt;BR /&gt;' [' TIMESTAMP('dd/MMM/yyyy:HH:mm:ss Z'):timestamp ']'&lt;BR /&gt;SPACE&lt;BR /&gt;'\"'&lt;BR /&gt;LD:'http.method'&lt;BR /&gt;SPACE&lt;BR /&gt;LD:'http.target'&lt;BR /&gt;SPACE&lt;BR /&gt;LD:'http.flavor'&lt;BR /&gt;'\"'&lt;BR /&gt;SPACE&lt;BR /&gt;INT:'http.status_code'&lt;BR /&gt;SPACE&lt;BR /&gt;LD:'http.response_content_length'&lt;BR /&gt;SPACE&lt;BR /&gt;'\"-\" \"' LD:'http.user_agent'&lt;BR /&gt;'; ' LD:'http.request.header.referrer' '\"'&lt;BR /&gt;(SPACE LD)? (EOL | EOF)")&lt;/P&gt;&lt;P&gt;Log sample&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"content":"999.999.999.999 999.99.99.999 - - [31/Jan/2024:11:08:11 +0000] \"POST /xxx.php?doing_xxxxx=1706666891.5527100563049316406250 HTTP/1.1\" 200 - \"-\" \"MyApp/6.0; &lt;A href="https://uat.xxxxx.com\" target="_blank"&gt;https://uat.xxxxx.com\&lt;/A&gt;""&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 04:43:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/235894#M598</guid>
      <dc:creator>tjay</dc:creator>
      <dc:date>2024-01-31T04:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Log processing rule</title>
      <link>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/235896#M599</link>
      <description>&lt;P&gt;Even a simple parse is failing.&lt;/P&gt;&lt;P&gt;Process definition&lt;/P&gt;&lt;P&gt;PARSE(content, "IPADDR:'net.client.ip'&lt;BR /&gt;(SPACE LD)? (EOL | EOF)")&lt;/P&gt;&lt;P&gt;Log sample&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"content":"99.999.999.999"&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 05:06:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/235896#M599</guid>
      <dc:creator>tjay</dc:creator>
      <dc:date>2024-01-31T05:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Log processing rule</title>
      <link>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/235899#M600</link>
      <description>&lt;P&gt;Are you Log classic (v2) or Grail?&lt;BR /&gt;If grail, you should use&lt;BR /&gt;&lt;BR /&gt;fetch logs&lt;BR /&gt;| parse content, &lt;SPAN&gt;"IPADDR:'net.client.ip'&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(SPACE LD)? (EOL | EOF)"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 07:15:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/235899#M600</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2024-01-31T07:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Log processing rule</title>
      <link>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/235905#M601</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I'm doing it in the log processing and other built-in rules don't use fetch logs, etc.&lt;/P&gt;&lt;P&gt;I'm using the new one (I think it suggested to start using DQL from my memory).&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 07:50:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/235905#M601</guid>
      <dc:creator>tjay</dc:creator>
      <dc:date>2024-01-31T07:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Log processing rule</title>
      <link>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/235912#M602</link>
      <description>&lt;P&gt;Try the processing with the fetch log (DQL) , should work.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 09:19:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/235912#M602</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2024-01-31T09:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Log processing rule</title>
      <link>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/235986#M604</link>
      <description>&lt;P&gt;Process Definition does not seem to like to have "fetch log".&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 00:11:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/235986#M604</guid>
      <dc:creator>tjay</dc:creator>
      <dc:date>2024-02-01T00:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Log processing rule</title>
      <link>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/236109#M605</link>
      <description>&lt;P&gt;It turns out that I had to include other data in the sample section, ie, not only 'content'. The easiest way is to create a new rule from the logs and events screen by clicking "Create processing rule", which brings the necessary sample data automatically.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 07:56:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Log-processing-rule/m-p/236109#M605</guid>
      <dc:creator>tjay</dc:creator>
      <dc:date>2024-02-02T07:56:59Z</dc:date>
    </item>
  </channel>
</rss>

