<?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: complex stats to trigger on count of events in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/complex-stats-to-trigger-on-count-of-events/m-p/678963#M232116</link>
    <description>&lt;LI-CODE lang="markup"&gt;| stats count dc("File Name") as "File Name Count" first(_time) as _time, values(host) as host, values("File Type") as "File Type", values(Policy) as Policy, values(SHA256) as SHA256, values("Block Reason") as "Block Reason", values(Blocked) as Blocked by "File Name"&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 28 Feb 2024 13:04:03 GMT</pubDate>
    <dc:creator>dm2</dc:creator>
    <dc:date>2024-02-28T13:04:03Z</dc:date>
    <item>
      <title>complex stats to trigger on count of events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/complex-stats-to-trigger-on-count-of-events/m-p/678958#M232114</link>
      <description>&lt;P&gt;I have this rule, I need it to trigger when results / count of events is greater than 4 but the "Trigger Condition" did not work.&lt;BR /&gt;Is there something I can add to the query ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dm2_0-1709121026938.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29532i93AFF9133462C2C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dm2_0-1709121026938.png" alt="dm2_0-1709121026938.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="dm2_1-1709121061997.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29533iEA93D62E775B29B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dm2_1-1709121061997.png" alt="dm2_1-1709121061997.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 11:56:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/complex-stats-to-trigger-on-count-of-events/m-p/678958#M232114</guid>
      <dc:creator>dm2</dc:creator>
      <dc:date>2024-02-28T11:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: complex stats to trigger on count of events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/complex-stats-to-trigger-on-count-of-events/m-p/678960#M232115</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260336"&gt;@dm2&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please, share your search in text mode, otherwise it's more difficoult to help you.&lt;/P&gt;&lt;P&gt;You can insert the text using the "Insert/Edit code sample" button.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 11:59:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/complex-stats-to-trigger-on-count-of-events/m-p/678960#M232115</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-02-28T11:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: complex stats to trigger on count of events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/complex-stats-to-trigger-on-count-of-events/m-p/678963#M232116</link>
      <description>&lt;LI-CODE lang="markup"&gt;| stats count dc("File Name") as "File Name Count" first(_time) as _time, values(host) as host, values("File Type") as "File Type", values(Policy) as Policy, values(SHA256) as SHA256, values("Block Reason") as "Block Reason", values(Blocked) as Blocked by "File Name"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 28 Feb 2024 13:04:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/complex-stats-to-trigger-on-count-of-events/m-p/678963#M232116</guid>
      <dc:creator>dm2</dc:creator>
      <dc:date>2024-02-28T13:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: complex stats to trigger on count of events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/complex-stats-to-trigger-on-count-of-events/m-p/678974#M232118</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260336"&gt;@dm2&lt;/a&gt;&amp;nbsp;.. the SPL looks good and working fine also(as per the image).&amp;nbsp;&lt;/P&gt;&lt;P&gt;the trigger condition says the result greater than 4 and the image shows result 1. so the trigger condition was not triggered.&amp;nbsp;&lt;/P&gt;&lt;P&gt;are you saying that, when the result is greater than 4 also the trigger condition not triggering?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 13:32:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/complex-stats-to-trigger-on-count-of-events/m-p/678974#M232118</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2024-02-28T13:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: complex stats to trigger on count of events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/complex-stats-to-trigger-on-count-of-events/m-p/678980#M232119</link>
      <description>&lt;P&gt;I saying that the rule needs to trigger when events &amp;gt; 4, and the 'Trigger Condition' did not work.&lt;/P&gt;&lt;P&gt;This is the rule that triggered (triggered on one event):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dm2_0-1709127715520.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29538iC22057AF068B5EB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dm2_0-1709127715520.png" alt="dm2_0-1709127715520.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 13:42:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/complex-stats-to-trigger-on-count-of-events/m-p/678980#M232119</guid>
      <dc:creator>dm2</dc:creator>
      <dc:date>2024-02-28T13:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: complex stats to trigger on count of events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/complex-stats-to-trigger-on-count-of-events/m-p/679001#M232121</link>
      <description>&lt;P&gt;ok something is not clear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the trigger condition is results count greater than 4, then trigger/run the trigger conditions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) do you say that when the results are greater than 4, but still the trigger did not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) on your latest reply, you got only one result, but the trigger condition ran successfully ya?&lt;/P&gt;&lt;P&gt;Can you pls attach the trigger conditions screenshot pls.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 14:39:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/complex-stats-to-trigger-on-count-of-events/m-p/679001#M232121</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2024-02-28T14:39:24Z</dc:date>
    </item>
  </channel>
</rss>

