<?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 How do I create a temperature threshold that send alert at 30 degrees in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-do-I-create-a-temperature-threshold-that-send-alert-at-30/m-p/37213#M419</link>
    <description>&lt;P&gt;I have got my parameter defined in this for&lt;/P&gt;

&lt;P&gt;index=main sourcetype="temperature" "30" &lt;/P&gt;

&lt;P&gt;When I did my search I got a result in this format.&lt;BR /&gt;
4/26/12&lt;BR /&gt;
4:57:39.000 PM&lt;BR /&gt;&lt;BR /&gt;
UPS1 Warm: 28 UPS2 Cool: 30&lt;BR /&gt;
but I need it to display the cool temperature when it is &amp;gt;29  using this command format&lt;BR /&gt;
index=main sourcetype="temperature" "30"&lt;/P&gt;</description>
    <pubDate>Thu, 26 Apr 2012 16:08:59 GMT</pubDate>
    <dc:creator>babs101</dc:creator>
    <dc:date>2012-04-26T16:08:59Z</dc:date>
    <item>
      <title>How do I create a temperature threshold that send alert at 30 degrees</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-create-a-temperature-threshold-that-send-alert-at-30/m-p/37213#M419</link>
      <description>&lt;P&gt;I have got my parameter defined in this for&lt;/P&gt;

&lt;P&gt;index=main sourcetype="temperature" "30" &lt;/P&gt;

&lt;P&gt;When I did my search I got a result in this format.&lt;BR /&gt;
4/26/12&lt;BR /&gt;
4:57:39.000 PM&lt;BR /&gt;&lt;BR /&gt;
UPS1 Warm: 28 UPS2 Cool: 30&lt;BR /&gt;
but I need it to display the cool temperature when it is &amp;gt;29  using this command format&lt;BR /&gt;
index=main sourcetype="temperature" "30"&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 16:08:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-create-a-temperature-threshold-that-send-alert-at-30/m-p/37213#M419</guid>
      <dc:creator>babs101</dc:creator>
      <dc:date>2012-04-26T16:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a temperature threshold that send alert at 30 degrees</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-create-a-temperature-threshold-that-send-alert-at-30/m-p/37214#M420</link>
      <description>&lt;P&gt;If you do a field extraction on the values, you'll be able to search how you want.  This should work for you.  Place this in a props.conf file (create one if it doesn't exist) in your 'SPLUNK_HOME\etc\apps\users\(username)\local' directory.&lt;/P&gt;

&lt;P&gt;EXTRACT-UPS1_temp = (?i) UPS2\s\S+\s(?P&lt;UPS1_TEMP&gt;[^ ]+)&lt;/UPS1_TEMP&gt;&lt;/P&gt;

&lt;P&gt;EXTRACT-UPS2_temp = (?i) UPS2\s\S+\s(?P&lt;UPS2_TEMP&gt;[^ ]+)&lt;/UPS2_TEMP&gt;&lt;/P&gt;

&lt;P&gt;Then you can do a search like this ... | where UPS1_temp &amp;gt; 29.  You can also extract out the Warm, Cold values and use those as well.&lt;/P&gt;

&lt;P&gt;Here's the docs on extracting new fields&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/User/ExtractNewFields" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/User/ExtractNewFields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:44:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-create-a-temperature-threshold-that-send-alert-at-30/m-p/37214#M420</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2020-09-28T11:44:35Z</dc:date>
    </item>
  </channel>
</rss>

