<?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: How to create a single alert for all HTTP error codes in events? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210134#M3722</link>
    <description>&lt;P&gt;I am not sure what you mean here but perhaps this document will help:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Report/Schedulereports#Use_tokens_in_scheduled_report_email_subjects_and_bodies"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/Report/Schedulereports#Use_tokens_in_scheduled_report_email_subjects_and_bodies&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Oct 2015 19:14:22 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-10-30T19:14:22Z</dc:date>
    <item>
      <title>How to create a single alert for all HTTP error codes in events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210129#M3717</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I would like to create a single alert for all HTTP error codes in events.&lt;BR /&gt;
Ex: I would like to create an alert for 400,404,500 etc error codes if the count reaches 25 in 5 mins period for 2 error codes and if the count reaches 250 for other error code. Do I need to create an alert for each error code, or is there a way we can include everything in single alert?&lt;/P&gt;

&lt;P&gt;Would really appreciate if anyone can help.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 14:16:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210129#M3717</guid>
      <dc:creator>allurirohan</dc:creator>
      <dc:date>2015-10-30T14:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a single alert for all HTTP error codes in events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210130#M3718</link>
      <description>&lt;P&gt;Like this (for a single alert/search):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... (errorCode=400 OR errorCode=404 OR errorCode=500) | bucket _time span=5 | stats count by errorCode _time | where (count&amp;lt;25 AND (errorCode=400 OR errorCode=404)) OR (count&amp;lt;250)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Oct 2015 17:29:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210130#M3718</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-30T17:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a single alert for all HTTP error codes in events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210131#M3719</link>
      <description>&lt;P&gt;Thank you for the quick response.&lt;BR /&gt;
so , what trigger condition we need to select while creating the alert ?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 18:06:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210131#M3719</guid>
      <dc:creator>allurirohan</dc:creator>
      <dc:date>2015-10-30T18:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a single alert for all HTTP error codes in events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210132#M3720</link>
      <description>&lt;P&gt;Where &lt;CODE&gt;Number of events&lt;/CODE&gt; and &lt;CODE&gt;is greater than 0&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 18:10:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210132#M3720</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-30T18:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a single alert for all HTTP error codes in events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210133#M3721</link>
      <description>&lt;P&gt;Ok.One more question is , Is there a way to include the message in the alert description we which error code has exceeded the threshold?&lt;BR /&gt;
Ex: we have the alert name as "Httperror alert" - but its just sending an alert with number of events (31).&lt;BR /&gt;
So , we are not sure which error code exceeded,as we have 2 error codes has same threshold.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 18:27:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210133#M3721</guid>
      <dc:creator>allurirohan</dc:creator>
      <dc:date>2015-10-30T18:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a single alert for all HTTP error codes in events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210134#M3722</link>
      <description>&lt;P&gt;I am not sure what you mean here but perhaps this document will help:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Report/Schedulereports#Use_tokens_in_scheduled_report_email_subjects_and_bodies"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/Report/Schedulereports#Use_tokens_in_scheduled_report_email_subjects_and_bodies&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 19:14:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210134#M3722</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-30T19:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a single alert for all HTTP error codes in events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210135#M3723</link>
      <description>&lt;P&gt;In your "Save as Alert" dialog, in the "Send email" section, there are some options  under "Include."  Click the "Inline" option (4th one in that section) and leave the little drop-down next to it set to "table".&lt;/P&gt;

&lt;P&gt;That will create a little table of the results of the search that triggered the alert, and include it in the email it sends, so you can see the data itself.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2015 02:36:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-a-single-alert-for-all-HTTP-error-codes-in-events/m-p/210135#M3723</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2015-10-31T02:36:49Z</dc:date>
    </item>
  </channel>
</rss>

