<?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: Send email alerts based on specific string in logs in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Send-email-alerts-based-on-specific-string-in-logs/m-p/246998#M4540</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a &lt;A title="log event" href="https://docs.dynatrace.com/docs/shortlink/lma-log-events" target="_blank" rel="noopener"&gt;log event&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Be sure is matching desired&amp;nbsp;&lt;A title="alerting profile" href="https://docs.dynatrace.com/docs/shortlink/alerting-profiles" target="_blank" rel="noopener"&gt;alerting profile&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Create problem notification by &lt;A title="email" href="https://docs.dynatrace.com/docs/shortlink/email-notifications" target="_blank" rel="noopener"&gt;email&lt;/A&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2024 07:05:55 GMT</pubDate>
    <dc:creator>AntonPineiro</dc:creator>
    <dc:date>2024-05-31T07:05:55Z</dc:date>
    <item>
      <title>Send email alerts based on specific string in logs</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-email-alerts-based-on-specific-string-in-logs/m-p/246992#M4539</link>
      <description>&lt;P&gt;Hi, new to Dynatrace here.&lt;/P&gt;&lt;P&gt;I've been asked to set up email alerts for a certain situation. If logs from any of three specific hosts contain "Invalid username or password." in their content field, an alert email should be sent to a specific address.&lt;/P&gt;&lt;P&gt;How would I go about that? We use Grail.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 21:40:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-email-alerts-based-on-specific-string-in-logs/m-p/246992#M4539</guid>
      <dc:creator>ZackE</dc:creator>
      <dc:date>2024-05-30T21:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Send email alerts based on specific string in logs</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-email-alerts-based-on-specific-string-in-logs/m-p/246998#M4540</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a &lt;A title="log event" href="https://docs.dynatrace.com/docs/shortlink/lma-log-events" target="_blank" rel="noopener"&gt;log event&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Be sure is matching desired&amp;nbsp;&lt;A title="alerting profile" href="https://docs.dynatrace.com/docs/shortlink/alerting-profiles" target="_blank" rel="noopener"&gt;alerting profile&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Create problem notification by &lt;A title="email" href="https://docs.dynatrace.com/docs/shortlink/email-notifications" target="_blank" rel="noopener"&gt;email&lt;/A&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 07:05:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-email-alerts-based-on-specific-string-in-logs/m-p/246998#M4540</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-05-31T07:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Send email alerts based on specific string in logs</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-email-alerts-based-on-specific-string-in-logs/m-p/247023#M4541</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76549"&gt;@ZackE&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;In standard Dynatrace, you will have to raise a problem, to get something sent by email, as &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt; said. In this case, you will probably want to use a low timeout for the event, with the dt.event.timeout, or else you might have a huge amount of problems in your environment, as the default timeout is 15 minutes.&lt;/P&gt;&lt;P&gt;Other ways of doing the same thing involves integrating your ITSM solution with events (eg. ServiceNow ITOM) and then sending the emails from there. Or also having an integration at the event level; in this case, we have an extension that looks at the events and sends them to several channels, including emails. You could almost certainly do it with Workflows, but I haven't tested this yet. In all these cases, you won't have ""Invalid username or password." as problems in Dynatrace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 10:04:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-email-alerts-based-on-specific-string-in-logs/m-p/247023#M4541</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2024-05-31T10:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Send email alerts based on specific string in logs</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-email-alerts-based-on-specific-string-in-logs/m-p/247081#M4542</link>
      <description>&lt;P&gt;One of the requirements I forgot to mention was that it needs to run once every hour. So I ended up using the workflows from your suggestion, which works very well and is easy to use.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 21:25:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-email-alerts-based-on-specific-string-in-logs/m-p/247081#M4542</guid>
      <dc:creator>ZackE</dc:creator>
      <dc:date>2024-05-31T21:25:30Z</dc:date>
    </item>
  </channel>
</rss>

