<?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: Simple text log monitoring in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/223066#M136</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/65794"&gt;@olegus&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can accept my answer also.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 15:03:24 GMT</pubDate>
    <dc:creator>Mizső</dc:creator>
    <dc:date>2023-09-14T15:03:24Z</dc:date>
    <item>
      <title>Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/222862#M130</link>
      <description>&lt;P&gt;I'm new to Dynatrace so bare with my dumb questions here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What I need is to make Dynatrace to watch a very simple log file in text format , check for a specific value and raise an alert if found.&lt;/P&gt;
&lt;P&gt;So far I was able to specify a custom log source under a process that produces my logs but it seems Dynatrace does not want to monitor it. Why is that?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="olegus_0-1694554049092.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/14066i9A7AE408D89C2F4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="olegus_0-1694554049092.png" alt="olegus_0-1694554049092.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also , I stumbled across log processing rules and I 'm struggling to create my own to simply find a word sequence there. All examples seems related to known logs from web servers like nginx /haproxy and includes some pretty complex data manipulation. Plus, It seems that logs should be in JSON format? At least that what's required for Rule Testing section..&lt;/P&gt;
&lt;P&gt;I have a feeling that I've missing something obvious here - can you point me to the right direction how can I:&lt;/P&gt;
&lt;P&gt;- add a text log file to Dynatrace&lt;/P&gt;
&lt;P&gt;- add a rule to simply check for words "exit code XXX"&lt;/P&gt;
&lt;P&gt;- raise an alert&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, 13 Sep 2023 07:30:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/222862#M130</guid>
      <dc:creator>olegus</dc:creator>
      <dc:date>2023-09-13T07:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/222865#M131</link>
      <description>&lt;P&gt;Hey, you can use some rules to do this.&lt;/P&gt;&lt;P&gt;Check this documentation if you use classic v2&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/observe-and-explore/logs/log-monitoring/log-processing" target="_blank"&gt;https://www.dynatrace.com/support/help/observe-and-explore/logs/log-monitoring/log-processing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check this documentation if you use Grail&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/observe-and-explore/logs/log-management-and-analytics/lma-use-cases/lma-e2e-set-log-alert" target="_blank"&gt;https://www.dynatrace.com/support/help/observe-and-explore/logs/log-management-and-analytics/lma-use-cases/lma-e2e-set-log-alert&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 02:51:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/222865#M131</guid>
      <dc:creator>natanael_mendes</dc:creator>
      <dc:date>2023-09-13T02:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/223036#M132</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/65794"&gt;@olegus&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Could you please check my pervious posts about log monitoring.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Open-Q-A/List-log-files-for-a-metric/m-p/205804" target="_blank" rel="noopener"&gt;Solved: List log files for a metric - Dynatrace Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Open-Q-A/Application-Log-monitoring/m-p/195075" target="_blank" rel="noopener"&gt;Solved: Application Log monitoring - Dynatrace Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As a first step is to set the log collection:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;At cutom log source configuration you add it manually the test file log&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then&lt;/P&gt;&lt;P&gt;2. At log source configuration if DT recognized your text file log after ponit 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will be also usefull from other members:&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Open-Q-A/Logs-Classic-Log-storage-configuration-vs-Custom-log-source/td-p/222514" target="_blank"&gt;Solved: Logs Classic - Log storage configuration vs Custom log source - Dynatrace Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Maybe you can use them.&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 13:52:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/223036#M132</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2023-09-14T13:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/223039#M133</link>
      <description>&lt;P&gt;Thanks, Mizso,&lt;/P&gt;&lt;P&gt;That looks promising, a question regarding switching to Log Monitoring v2 - what will we lose when we switch to v2? We dont monitor any logs yet , but if we do, would we need to redo all log metrics ?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 13:56:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/223039#M133</guid>
      <dc:creator>olegus</dc:creator>
      <dc:date>2023-09-14T13:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/223056#M134</link>
      <description>&lt;P&gt;Not&amp;nbsp; sure how this forum works, but the first post that was "accepted as a solution" (not by me btw) did not answer my questions &amp;nbsp; - it just contains links to general DT docs, which I already read before asking those questions.&amp;nbsp; I will re-read them and try solutions provided by Mizsco and report back.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 14:44:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/223056#M134</guid>
      <dc:creator>olegus</dc:creator>
      <dc:date>2023-09-14T14:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/223065#M135</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/65794"&gt;@olegus&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I think the answer yes. You will have to redo the log metrics. I was lucky because I switched to v2 quite early I did not have to much v1 configuration. You should do it as soon as possible because as you may read v1 support will end by 01.2024.&lt;/P&gt;&lt;P&gt;Regarding the v1 vs v2. No questions, v2 has much more possibilities than v1. I perfer it.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 15:02:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/223065#M135</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2023-09-14T15:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/223066#M136</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/65794"&gt;@olegus&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can accept my answer also.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 15:03:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/223066#M136</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2023-09-14T15:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/223095#M137</link>
      <description>&lt;P&gt;Mizso,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. So far I created Custom Log Source configuration and I also created Log Storage configuration for the same log file - now i see my log in Logs&amp;amp;Events.&lt;/P&gt;&lt;P&gt;2. I've added DQL rule to filter my log data to show only "exit code XXX" lines&lt;/P&gt;&lt;P&gt;3. Looks like I'm good to go to create a Log event.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 20:37:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/223095#M137</guid>
      <dc:creator>olegus</dc:creator>
      <dc:date>2023-09-14T20:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/242190#M138</link>
      <description>&lt;P&gt;log.source= "/opt/oracle" AND (content="ORA-"). This is log source.&amp;nbsp; instead of searching for content, i want to search ORA- in the first line in the log only. How to do that&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 12:33:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/242190#M138</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-04-09T12:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/242545#M139</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Mizso&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;log.source= "/opt/oracle" AND (content="ORA-"). This is log source.&amp;nbsp; instead of searching for content, i want to search ORA- in the first line in the log only. How to do we do that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now alerts are generatiing if ORA- is there is any part of content, instead we want to alert generated if ORA- is present in first line.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2024 06:53:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/242545#M139</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-04-14T06:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/242689#M140</link>
      <description>&lt;P&gt;&lt;SPAN&gt;log.source= "/opt/oracle" AND (content="ORA-"). This is log source.&amp;nbsp; instead of searching for content, i want to search ORA- in the first line in the log only. How to do that&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 06:56:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/242689#M140</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-04-16T06:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/242801#M141</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/74312"&gt;@sundarv1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I do not have solution for your request, maybe other community members have any idea...&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 18:06:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/242801#M141</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2024-04-16T18:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/243186#M142</link>
      <description>&lt;P&gt;Hi Mizzo&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;og.source= "/opt/oracle" AND (content="ORA-"). This is log source.&amp;nbsp; instead of searching for content, i want to search ORA- in the first line in the log only. How to do that&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 11:50:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/243186#M142</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-04-18T11:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/243227#M143</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/74312" target="_blank"&gt;@sundarv1&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;As I wrote I do not have solution for your request, maybe other community members have any idea...&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 17:08:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/243227#M143</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2024-04-18T17:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/245487#M144</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do we display host IP Address in the Log Monitoring incidents. 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;</description>
      <pubDate>Tue, 14 May 2024 04:46:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/245487#M144</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-05-14T04:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Simple text log monitoring</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/250274#M145</link>
      <description>&lt;P&gt;Hi Mizso&lt;/P&gt;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 15:05:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Simple-text-log-monitoring/m-p/250274#M145</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-07-10T15:05:06Z</dc:date>
    </item>
  </channel>
</rss>

