<?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: Alert Based Off Current Event Duration in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Alert-Based-Off-Current-Event-Duration/m-p/656860#M226872</link>
    <description>&lt;P&gt;Thank you!!&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2023 15:22:51 GMT</pubDate>
    <dc:creator>NewToSplunk1</dc:creator>
    <dc:date>2023-09-06T15:22:51Z</dc:date>
    <item>
      <title>Alert Based Off Current Event Duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-Based-Off-Current-Event-Duration/m-p/656854#M226869</link>
      <description>&lt;P&gt;Goal: Being able to alert off the latest event if the event is more than 300 seconds and is not blank or "non-productive".&lt;BR /&gt;&lt;BR /&gt;Here is my current search and the results:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NewToSplunk1_0-1694011225839.png" style="width: 673px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27075i529C7E68A22284DC/image-dimensions/673x244?v=v2" width="673" height="244" role="button" title="NewToSplunk1_0-1694011225839.png" alt="NewToSplunk1_0-1694011225839.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NewToSplunk1_2-1694012082568.png" style="width: 672px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27077iD31A7D85840B3FC7/image-dimensions/672x79?v=v2" width="672" height="79" role="button" title="NewToSplunk1_2-1694012082568.png" alt="NewToSplunk1_2-1694012082568.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Every incident is an open or a closing of an event. If the incident is blank, that signifies a closing of the previous event. If the incident has a string, that is the current open event.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my ideal scenario, I would alert based on any incident where I have a string value within the incident field, current duration has surpassed 300 seconds, and I don't have a value in the total duration field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try to add a filter for | where total duration = "", no results are returned at all.. Which I am confused about since the latest totalduration event is blank since streamstats is false...&lt;/P&gt;&lt;P&gt;Any help or tips greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 14:57:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-Based-Off-Current-Event-Duration/m-p/656854#M226869</guid>
      <dc:creator>NewToSplunk1</dc:creator>
      <dc:date>2023-09-06T14:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alert Based Off Current Event Duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-Based-Off-Current-Event-Duration/m-p/656857#M226870</link>
      <description>&lt;P&gt;| where TotalDuration = null returns no results as well.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 15:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-Based-Off-Current-Event-Duration/m-p/656857#M226870</guid>
      <dc:creator>NewToSplunk1</dc:creator>
      <dc:date>2023-09-06T15:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alert Based Off Current Event Duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-Based-Off-Current-Event-Duration/m-p/656859#M226871</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| where isnull(TotalDuration)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 06 Sep 2023 15:19:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-Based-Off-Current-Event-Duration/m-p/656859#M226871</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-09-06T15:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Alert Based Off Current Event Duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-Based-Off-Current-Event-Duration/m-p/656860#M226872</link>
      <description>&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 15:22:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-Based-Off-Current-Event-Duration/m-p/656860#M226872</guid>
      <dc:creator>NewToSplunk1</dc:creator>
      <dc:date>2023-09-06T15:22:51Z</dc:date>
    </item>
  </channel>
</rss>

