<?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 an alert based on the thresholds in a lookup table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-an-alert-based-on-the-thresholds-in-a-lookup-table/m-p/365100#M107682</link>
    <description>&lt;P&gt;Thank You for your quick response Woodcock,will try this and let you know..thanks a lot again&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2017 19:52:39 GMT</pubDate>
    <dc:creator>vrmandadi</dc:creator>
    <dc:date>2017-03-16T19:52:39Z</dc:date>
    <item>
      <title>How to create an alert based on the thresholds in a lookup table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-an-alert-based-on-the-thresholds-in-a-lookup-table/m-p/365098#M107680</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Is there way to create  an alert based on the thresholds in a lookup table?&lt;/P&gt;

&lt;P&gt;I have a search which will give you whether a sourcetype has no data coming for last 10 mins, but now I am thinking to have a lookup file which has each sourcetype name and its threshold. Can we create an alert which will trigger for each sourcetype based on the threshold value in the lookup table?&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 19:16:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-an-alert-based-on-the-thresholds-in-a-lookup-table/m-p/365098#M107680</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2017-03-16T19:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an alert based on the thresholds in a lookup table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-an-alert-based-on-the-thresholds-in-a-lookup-table/m-p/365099#M107681</link>
      <description>&lt;P&gt;Let's say it is a lookup by sourcetype where your CSV has &lt;CODE&gt;sourcetype,threshold&lt;/CODE&gt; values in it and is called &lt;CODE&gt;SourcetypeThresholdLookup&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR SEARCH HERE | stats count BY sourcetype | lookup SourcetypeThresholdLookup sourcetype | where count&amp;gt;=threshold
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then set your alert for &lt;CODE&gt;number of events is greater than 0&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 19:40:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-an-alert-based-on-the-thresholds-in-a-lookup-table/m-p/365099#M107681</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-16T19:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an alert based on the thresholds in a lookup table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-an-alert-based-on-the-thresholds-in-a-lookup-table/m-p/365100#M107682</link>
      <description>&lt;P&gt;Thank You for your quick response Woodcock,will try this and let you know..thanks a lot again&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 19:52:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-an-alert-based-on-the-thresholds-in-a-lookup-table/m-p/365100#M107682</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2017-03-16T19:52:39Z</dc:date>
    </item>
  </channel>
</rss>

