<?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 For all occurences, get the duration of a value dropping below a threshhold in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/For-all-occurences-get-the-duration-of-a-value-dropping-below-a/m-p/315341#M94405</link>
    <description>&lt;P&gt;I have events that show signal strength. What I want to do is determine the start_time, end_time and duration of any period where the signal strength drops below what is considered 'normal'. My events have two different signals: signal_id=1 and signal_id=2.&lt;/P&gt;

&lt;P&gt;Example event:&lt;BR /&gt;
    _time, signal_id, signal_strength, normal_signal&lt;BR /&gt;
    2017-05-16 16:17:28, 1,17.38,14.28&lt;/P&gt;

&lt;P&gt;Output I'd like to see:&lt;BR /&gt;
start_time,end_time,duration,signal_id&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 14:13:57 GMT</pubDate>
    <dc:creator>jpass</dc:creator>
    <dc:date>2020-09-29T14:13:57Z</dc:date>
    <item>
      <title>For all occurences, get the duration of a value dropping below a threshhold</title>
      <link>https://community.splunk.com/t5/Splunk-Search/For-all-occurences-get-the-duration-of-a-value-dropping-below-a/m-p/315341#M94405</link>
      <description>&lt;P&gt;I have events that show signal strength. What I want to do is determine the start_time, end_time and duration of any period where the signal strength drops below what is considered 'normal'. My events have two different signals: signal_id=1 and signal_id=2.&lt;/P&gt;

&lt;P&gt;Example event:&lt;BR /&gt;
    _time, signal_id, signal_strength, normal_signal&lt;BR /&gt;
    2017-05-16 16:17:28, 1,17.38,14.28&lt;/P&gt;

&lt;P&gt;Output I'd like to see:&lt;BR /&gt;
start_time,end_time,duration,signal_id&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:13:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/For-all-occurences-get-the-duration-of-a-value-dropping-below-a/m-p/315341#M94405</guid>
      <dc:creator>jpass</dc:creator>
      <dc:date>2020-09-29T14:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: For all occurences, get the duration of a value dropping below a threshhold</title>
      <link>https://community.splunk.com/t5/Splunk-Search/For-all-occurences-get-the-duration-of-a-value-dropping-below-a/m-p/315342#M94406</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your Base Search Here
| streamstats count(eval(signal_strength&amp;gt;=normal_signal)) AS sessionID BY signal_id
| stats min(_time) AS start_time max(_time) AS end_time range(_time) AS duration count AS numEvents BY signal_id sessionID
| search numEvents&amp;gt;1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 May 2017 14:13:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/For-all-occurences-get-the-duration-of-a-value-dropping-below-a/m-p/315342#M94406</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-23T14:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: For all occurences, get the duration of a value dropping below a threshhold</title>
      <link>https://community.splunk.com/t5/Splunk-Search/For-all-occurences-get-the-duration-of-a-value-dropping-below-a/m-p/315343#M94407</link>
      <description>&lt;P&gt;Yes thank you much.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 15:11:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/For-all-occurences-get-the-duration-of-a-value-dropping-below-a/m-p/315343#M94407</guid>
      <dc:creator>jpass</dc:creator>
      <dc:date>2017-05-23T15:11:10Z</dc:date>
    </item>
  </channel>
</rss>

