<?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: How to create an alert to trigger when the license usage of a heavy forwarder reaches 90%? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-to-trigger-when-the-license-usage-of-a/m-p/285829#M5288</link>
    <description>&lt;P&gt;I tried running the query but didn't get any statistics..!&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jun 2016 14:12:33 GMT</pubDate>
    <dc:creator>kiran_mh</dc:creator>
    <dc:date>2016-06-02T14:12:33Z</dc:date>
    <item>
      <title>How to create an alert to trigger when the license usage of a heavy forwarder reaches 90%?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-to-trigger-when-the-license-usage-of-a/m-p/285827#M5286</link>
      <description>&lt;P&gt;Hi...I wanted to know how we can create an alert when the license usage of a "heavy forwarder" reaches a threshold say about 90% of license usage. We want to get alerted when such a thing occurs. Currently I have the following search: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index =_internal source = *license_usage.log* type = Usage earliest=-7d@d latest=now | search h=ftlpsplunkfwd01.citrite.net | eval MB=b/(1024*1024)  | eval date=strftime(_time, "%1m/%0d/%Y") | stats sum(MB) as Usage(MB) by date
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jun 2016 11:32:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-to-trigger-when-the-license-usage-of-a/m-p/285827#M5286</guid>
      <dc:creator>kiran_mh</dc:creator>
      <dc:date>2016-06-02T11:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an alert to trigger when the license usage of a heavy forwarder reaches 90%?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-to-trigger-when-the-license-usage-of-a/m-p/285828#M5287</link>
      <description>&lt;P&gt;Maybe something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type=Usage earliest=-7d@d latest=now
| search h=ftlpsplunkfwd01.citrite.net
| eval MB=b/(1024*1024) 
| eval date=strftime(_time, "%1m/%0d/%Y") 
| stats sum(MB) as Usage(MB) by date
| appendcols [ 
   | rest splunk_server=local /services/licenser/stacks 
   | stats max(quota) as license_limit
   | eval license_limitMB = license_limit/1024/1024
   | fields license_limitMB
]
| eventstats max(license_limitMB) as license_limitMB
| eval license_usage = round('Usage(MB)'/license_limitMB*100, 2) 
| where license_usage &amp;gt; 90
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jun 2016 13:22:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-to-trigger-when-the-license-usage-of-a/m-p/285828#M5287</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-06-02T13:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an alert to trigger when the license usage of a heavy forwarder reaches 90%?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-to-trigger-when-the-license-usage-of-a/m-p/285829#M5288</link>
      <description>&lt;P&gt;I tried running the query but didn't get any statistics..!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 14:12:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-to-trigger-when-the-license-usage-of-a/m-p/285829#M5288</guid>
      <dc:creator>kiran_mh</dc:creator>
      <dc:date>2016-06-02T14:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an alert to trigger when the license usage of a heavy forwarder reaches 90%?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-to-trigger-when-the-license-usage-of-a/m-p/285830#M5289</link>
      <description>&lt;P&gt;Keep in mind the last line is filtering where license usage &amp;gt; 90% so try tweaking that.&lt;BR /&gt;
If that doesn't give you any result, try removing the second line (search h=...) and the earliest and latest filters.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 14:27:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-to-trigger-when-the-license-usage-of-a/m-p/285830#M5289</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-06-02T14:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an alert to trigger when the license usage of a heavy forwarder reaches 90%?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-to-trigger-when-the-license-usage-of-a/m-p/285831#M5290</link>
      <description>&lt;P&gt;Not getting a result could be good thing. The denotes that your HF is not exceeding the 90% of total license usage. TO double check the values, just remove the last line and validate the results.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 19:46:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-to-trigger-when-the-license-usage-of-a/m-p/285831#M5290</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-06-02T19:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an alert to trigger when the license usage of a heavy forwarder reaches 90%?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-to-trigger-when-the-license-usage-of-a/m-p/581749#M13396</link>
      <description>&lt;P&gt;Sir, is there a way (SPL) to be notified when data sent by a HF changes / degrades to for example 15-20 % of the daily sent amount ? Thank u very much.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 21:18:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-to-trigger-when-the-license-usage-of-a/m-p/581749#M13396</guid>
      <dc:creator>SamHTexas</dc:creator>
      <dc:date>2022-01-19T21:18:10Z</dc:date>
    </item>
  </channel>
</rss>

