<?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 Monitoring in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243667#M4392</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Custom log source: You need to add custom log source, if you can not see the log under the Host's Log source dashlet. DT automatically recognize log files, but not all are automatically recognized.&lt;/P&gt;&lt;P&gt;Ingestion rules: If you want to analyze logs with DT, you have to add log ingest rule, to tell DT, that it should analyze the log file.&amp;nbsp; After log ingest rule enabled, you can see the log content in DT's Logs dashboard. Otherwise DT won't analyze the log.&lt;/P&gt;&lt;P&gt;Processing rules: If you want to process the log you captured (for example extract additional attributes, values from content) you have to create processing rules. You can add multiple matcher definitions using AND or OR operators.&lt;/P&gt;&lt;P&gt;Event or Metric extraction: Using attributes you can create Events, alerts, or metrics from the processed log.&lt;/P&gt;&lt;P&gt;This is just a short intoduction to the topic, please refer the documentation.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/observe-and-explore/log-monitoring" target="_blank"&gt;https://docs.dynatrace.com/docs/observe-and-explore/log-monitoring&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Attila&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2024 08:35:30 GMT</pubDate>
    <dc:creator>sattilas</dc:creator>
    <dc:date>2024-04-23T08:35:30Z</dc:date>
    <item>
      <title>Alerting based on the starting line in the log file</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243378#M4382</link>
      <description>&lt;P&gt;content="ORA-128&amp;nbsp; error "&lt;/P&gt;
&lt;P&gt;content="dynatrace alert ORA-128"&lt;/P&gt;
&lt;P&gt;We want to generate alert if "ORA-" starting of the line in log file , not in the middle.&amp;nbsp; How do we do it?.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 08:28:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243378#M4382</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-10-18T08:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Log Monitoring</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243379#M4383</link>
      <description>&lt;P&gt;Hi sundarv1,&lt;/P&gt;&lt;P&gt;Easiest way is to add a processing rule: If content starts with ORA-, add a field ora.error = "TRUE", like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;USING(content)

|  FIELDS_ADD(ora.error:IF_THEN(STARTS(content,"ORA-"),"TRUE"))&lt;/LI-CODE&gt;&lt;P&gt;Based one that field, you can create an events extraction referencing ora.error="TRUE" in log query.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Attila&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2024 17:09:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243379#M4383</guid>
      <dc:creator>sattilas</dc:creator>
      <dc:date>2024-04-21T17:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Log Monitoring</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243380#M4384</link>
      <description>&lt;P&gt;Thanks. Where I do create processing rule. Do I need this condition in the event extraction?&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2024 17:17:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243380#M4384</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-04-21T17:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Log Monitoring</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243382#M4385</link>
      <description>&lt;P&gt;You can create processing rule under settings/Log monitoring/Processing, you should put the code in processor definition.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sattilas_0-1713720168544.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19219iED1E2A24BAD1B063/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sattilas_0-1713720168544.png" alt="sattilas_0-1713720168544.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If the code works, then you can set up Events extraction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2024 17:27:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243382#M4385</guid>
      <dc:creator>sattilas</dc:creator>
      <dc:date>2024-04-21T17:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Log Monitoring</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243426#M4386</link>
      <description>&lt;P&gt;1. How to add to Mutiple logs in the matcher condition.?&lt;/P&gt;&lt;P&gt;2. How to create event extraction based on the processing rule?&lt;/P&gt;&lt;P&gt;3. Do we still needs to create log ingest rules and custom log sources?.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 09:31:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243426#M4386</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-04-22T09:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Log Monitoring</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243667#M4392</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Custom log source: You need to add custom log source, if you can not see the log under the Host's Log source dashlet. DT automatically recognize log files, but not all are automatically recognized.&lt;/P&gt;&lt;P&gt;Ingestion rules: If you want to analyze logs with DT, you have to add log ingest rule, to tell DT, that it should analyze the log file.&amp;nbsp; After log ingest rule enabled, you can see the log content in DT's Logs dashboard. Otherwise DT won't analyze the log.&lt;/P&gt;&lt;P&gt;Processing rules: If you want to process the log you captured (for example extract additional attributes, values from content) you have to create processing rules. You can add multiple matcher definitions using AND or OR operators.&lt;/P&gt;&lt;P&gt;Event or Metric extraction: Using attributes you can create Events, alerts, or metrics from the processed log.&lt;/P&gt;&lt;P&gt;This is just a short intoduction to the topic, please refer the documentation.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/observe-and-explore/log-monitoring" target="_blank"&gt;https://docs.dynatrace.com/docs/observe-and-explore/log-monitoring&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Attila&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 08:35:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243667#M4392</guid>
      <dc:creator>sattilas</dc:creator>
      <dc:date>2024-04-23T08:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Log Monitoring</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243670#M4393</link>
      <description>&lt;P&gt;Thanks. How to add multiple log file in the log watcher?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 09:04:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243670#M4393</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-04-23T09:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Log Monitoring</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243845#M4403</link>
      <description>&lt;P&gt;Thanks Sattilas. solution worked.&lt;/P&gt;&lt;PRE&gt; FIELDS_ADD(ora.error:IF_THEN(STARTS(content,"ORA-"),"TRUE"))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;one more request - If it starts with ORA and but if it is ORA-1013 - don;t create alert.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do we do this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 15:29:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243845#M4403</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-04-24T15:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Log Monitoring</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243883#M4404</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm glad I could help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The solution to your last question, if it starts with "ORA-", except "ORA-1013" is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; FIELDS_ADD(ora.error:IF_THEN(STARTS(content,"ORA-") AND NOT STARTS(content,"ORA-1013"),"TRUE"))&lt;/LI-CODE&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Attila&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 18:35:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/243883#M4404</guid>
      <dc:creator>sattilas</dc:creator>
      <dc:date>2024-04-24T18:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Log Monitoring</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/245486#M4482</link>
      <description>&lt;P&gt;Hi Sattilas&lt;/P&gt;&lt;P&gt;How do we display host IP Address in the Log Monitoring incdients. Currently we are getting Host name only&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sundar.v&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 04:45:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/245486#M4482</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-05-14T04:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Log Monitoring</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/250275#M4634</link>
      <description>&lt;P&gt;How do we map to Servicenow Group to the log monitoring so that incident directly assign to group for log events?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 15:07:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-based-on-the-starting-line-in-the-log-file/m-p/250275#M4634</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-07-10T15:07:00Z</dc:date>
    </item>
  </channel>
</rss>

