<?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: Trigger specific custom alert in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Trigger-specific-custom-alert/m-p/481615#M8538</link>
    <description>&lt;P&gt;My bad, it worked! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;BR /&gt;
Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 03 Mar 2020 15:03:02 GMT</pubDate>
    <dc:creator>alekseisaiko</dc:creator>
    <dc:date>2020-03-03T15:03:02Z</dc:date>
    <item>
      <title>Trigger specific custom alert</title>
      <link>https://community.splunk.com/t5/Alerting/Trigger-specific-custom-alert/m-p/481611#M8534</link>
      <description>&lt;P&gt;Hi there!&lt;BR /&gt;
I'm using this query &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="dev" |eval raw_len=len(_raw) | eval raw_len_gb = raw_len/1024/1024/1024 | stats sum(raw_len_gb) as GB by kubernetes_namespace | bin _time span=1d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To get the amount of received data from K8S logs, and I want to trigger alert using this query, if the amount will be more than 0.5 gig a day.&lt;BR /&gt;
How to define it in alert?&lt;BR /&gt;
Right now, when I'm defining alert that triggers when - "eval raw_len_gb &amp;gt; 0.5", it's not triggered&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;ALeksei&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:23:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Trigger-specific-custom-alert/m-p/481611#M8534</guid>
      <dc:creator>alekseisaiko</dc:creator>
      <dc:date>2020-09-30T04:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger specific custom alert</title>
      <link>https://community.splunk.com/t5/Alerting/Trigger-specific-custom-alert/m-p/481612#M8535</link>
      <description>&lt;P&gt;Add &lt;CODE&gt;| where raw_len_gb &amp;gt; 0.5&lt;/CODE&gt; to the end of your query and change the alert to trigger if the number of results is not zero.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 13:28:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Trigger-specific-custom-alert/m-p/481612#M8535</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-03-03T13:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger specific custom alert</title>
      <link>https://community.splunk.com/t5/Alerting/Trigger-specific-custom-alert/m-p/481613#M8536</link>
      <description>&lt;P&gt;Thanks for you answer!&lt;BR /&gt;
Right now, I want to test that this query works.&lt;/P&gt;

&lt;P&gt;If I'm running my query (without the &lt;CODE&gt;| where raw_len_gb &amp;gt; 0.5&lt;/CODE&gt;) for last 15 mins, I'm getting results, with 0.029 GB for example in one of the results.&lt;BR /&gt;
But if I want to check the same query with &lt;CODE&gt;| where raw_len_gb &amp;gt; 0.01&lt;/CODE&gt; just to see that it will show results, it doesn't. Though it must show the one with 0.029 GB and more.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 14:11:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Trigger-specific-custom-alert/m-p/481613#M8536</guid>
      <dc:creator>alekseisaiko</dc:creator>
      <dc:date>2020-03-03T14:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger specific custom alert</title>
      <link>https://community.splunk.com/t5/Alerting/Trigger-specific-custom-alert/m-p/481614#M8537</link>
      <description>&lt;P&gt;Ok, it worked liked this - &lt;BR /&gt;
&lt;CODE&gt;index="dev" |eval raw_len=len(_raw) | eval raw_len_gb = raw_len/1024/1024/1024 | stats sum(raw_len_gb) as GB by kubernetes_namespace | bin _time span=1d | where GB &amp;gt; 0.0004&lt;/CODE&gt;&lt;BR /&gt;
And I'm getting relevant results now, but still , trigger is not working from some reason&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 14:58:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Trigger-specific-custom-alert/m-p/481614#M8537</guid>
      <dc:creator>alekseisaiko</dc:creator>
      <dc:date>2020-03-03T14:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger specific custom alert</title>
      <link>https://community.splunk.com/t5/Alerting/Trigger-specific-custom-alert/m-p/481615#M8538</link>
      <description>&lt;P&gt;My bad, it worked! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 15:03:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Trigger-specific-custom-alert/m-p/481615#M8538</guid>
      <dc:creator>alekseisaiko</dc:creator>
      <dc:date>2020-03-03T15:03:02Z</dc:date>
    </item>
  </channel>
</rss>

