<?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: Create email alert when a particular string/keyword is found in log event in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Create-email-alert-when-a-particular-string-keyword-is-found-in/m-p/384459#M11367</link>
    <description>&lt;P&gt;But , when I recieve the Email alert is it possible to include only the string that triggered(out of 4 other strings I am having) instead of displaying entire search string in email alert ?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jun 2018 14:57:21 GMT</pubDate>
    <dc:creator>navd</dc:creator>
    <dc:date>2018-06-15T14:57:21Z</dc:date>
    <item>
      <title>Create email alert when a particular string/keyword is found in log event</title>
      <link>https://community.splunk.com/t5/Alerting/Create-email-alert-when-a-particular-string-keyword-is-found-in/m-p/384456#M11364</link>
      <description>&lt;P&gt;I am having couple of string to look for in log events and generate an alert when the matching string/keyword appears &lt;/P&gt;

&lt;P&gt;Following are example keywords:- &lt;BR /&gt;
ERROR - [] - Failed to create  custom account for user&lt;BR /&gt;
Code: Internal Server Error; Exception: &lt;BR /&gt;
Internal Server Error; Exception: com.google.search.ts.exception: &lt;/P&gt;

&lt;P&gt;So my current search look like this , but I want to know if there is any other way creating alert based on the string/keywords&lt;/P&gt;

&lt;P&gt;index="abc"  "ERROR - [] - Failed to create  custom account for user" OR "Code: Internal Server Error; Exception: " OR "Internal Server Error; Exception: com.google.search.ts.exception: "&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 19:17:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Create-email-alert-when-a-particular-string-keyword-is-found-in/m-p/384456#M11364</guid>
      <dc:creator>navd</dc:creator>
      <dc:date>2018-06-14T19:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create email alert when a particular string/keyword is found in log event</title>
      <link>https://community.splunk.com/t5/Alerting/Create-email-alert-when-a-particular-string-keyword-is-found-in/m-p/384457#M11365</link>
      <description>&lt;P&gt;I would do it the same way.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 02:45:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Create-email-alert-when-a-particular-string-keyword-is-found-in/m-p/384457#M11365</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-06-15T02:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create email alert when a particular string/keyword is found in log event</title>
      <link>https://community.splunk.com/t5/Alerting/Create-email-alert-when-a-particular-string-keyword-is-found-in/m-p/384458#M11366</link>
      <description>&lt;P&gt;I see all the strings contain "error" so maybe if you just save this search : &lt;EM&gt;index="abc" error&lt;/EM&gt; as alert and choose &lt;EM&gt;send email&lt;/EM&gt; as action will do the job..&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 04:15:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Create-email-alert-when-a-particular-string-keyword-is-found-in/m-p/384458#M11366</guid>
      <dc:creator>amiftah</dc:creator>
      <dc:date>2018-06-15T04:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create email alert when a particular string/keyword is found in log event</title>
      <link>https://community.splunk.com/t5/Alerting/Create-email-alert-when-a-particular-string-keyword-is-found-in/m-p/384459#M11367</link>
      <description>&lt;P&gt;But , when I recieve the Email alert is it possible to include only the string that triggered(out of 4 other strings I am having) instead of displaying entire search string in email alert ?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 14:57:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Create-email-alert-when-a-particular-string-keyword-is-found-in/m-p/384459#M11367</guid>
      <dc:creator>navd</dc:creator>
      <dc:date>2018-06-15T14:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create email alert when a particular string/keyword is found in log event</title>
      <link>https://community.splunk.com/t5/Alerting/Create-email-alert-when-a-particular-string-keyword-is-found-in/m-p/384460#M11368</link>
      <description>&lt;P&gt;Yes, In that case, you should extract the 4 strings in a field, and when you trigger the alert, send your field in your email: &lt;CODE&gt;$result.yourfield$&lt;/CODE&gt;, and include this field in the search: &lt;CODE&gt;index=foo error | table yourfield&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 17:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Create-email-alert-when-a-particular-string-keyword-is-found-in/m-p/384460#M11368</guid>
      <dc:creator>amiftah</dc:creator>
      <dc:date>2018-06-15T17:08:33Z</dc:date>
    </item>
  </channel>
</rss>

