<?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 search to check license usage every hour and send an alert email every 10 mins upon reaching 80%? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-to-check-license-usage-every-hour-and-send-an/m-p/225838#M66608</link>
    <description>&lt;P&gt;You can modify the query here to meet your appropriate percentage requirements &lt;A href="http://gosplunk.com/percentage-of-daily-license-usage/"&gt;Daily License Usage in Percent&lt;/A&gt;. Then configure an alert to shoot you an email whenever your threshold is reached! Hope that helps.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2015 13:46:56 GMT</pubDate>
    <dc:creator>hagjos43</dc:creator>
    <dc:date>2015-09-16T13:46:56Z</dc:date>
    <item>
      <title>How to search to check license usage every hour and send an alert email every 10 mins upon reaching 80%?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-to-check-license-usage-every-hour-and-send-an/m-p/225837#M66607</link>
      <description>&lt;P&gt;How to write a search for License usage to be checked every hour &amp;amp; send an alert email every 10 mins upon reaching 80%.&lt;BR /&gt;
product Splunk enterprize 6.2.2 / Windows platform.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 07:00:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-to-check-license-usage-every-hour-and-send-an/m-p/225837#M66607</guid>
      <dc:creator>Pranit_Hod</dc:creator>
      <dc:date>2015-09-16T07:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to search to check license usage every hour and send an alert email every 10 mins upon reaching 80%?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-to-check-license-usage-every-hour-and-send-an/m-p/225838#M66608</link>
      <description>&lt;P&gt;You can modify the query here to meet your appropriate percentage requirements &lt;A href="http://gosplunk.com/percentage-of-daily-license-usage/"&gt;Daily License Usage in Percent&lt;/A&gt;. Then configure an alert to shoot you an email whenever your threshold is reached! Hope that helps.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 13:46:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-to-check-license-usage-every-hour-and-send-an/m-p/225838#M66608</guid>
      <dc:creator>hagjos43</dc:creator>
      <dc:date>2015-09-16T13:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to search to check license usage every hour and send an alert email every 10 mins upon reaching 80%?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-to-check-license-usage-every-hour-and-send-an/m-p/225839#M66609</link>
      <description>&lt;P&gt;Hi hagjos43 , &lt;/P&gt;

&lt;P&gt;Thanks for your time &amp;amp; information, I am using same query at present but it did not work as expected.&lt;BR /&gt;
It just gives Licences utilization at particular time of the day &amp;amp; do not trigger the query.&lt;/P&gt;

&lt;P&gt;My requirement here , query to run at every hour of the day &amp;amp; send email notification only if utilization reaches 80% or above.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2015 03:21:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-to-check-license-usage-every-hour-and-send-an/m-p/225839#M66609</guid>
      <dc:creator>Pranit_Hod</dc:creator>
      <dc:date>2015-09-17T03:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to search to check license usage every hour and send an alert email every 10 mins upon reaching 80%?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-to-check-license-usage-every-hour-and-send-an/m-p/225840#M66610</link>
      <description>&lt;P&gt;You're on Splunk 6.2.2, why not using the DMC pre-build alert called DMC Alert - Total License Usage Near Daily Quota ?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2015 03:37:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-to-check-license-usage-every-hour-and-send-an/m-p/225840#M66610</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-09-17T03:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to search to check license usage every hour and send an alert email every 10 mins upon reaching 80%?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-to-check-license-usage-every-hour-and-send-an/m-p/225841#M66611</link>
      <description>&lt;P&gt;Try this (NOTE- I modified the "Where used &amp;gt; 80" part):&lt;/P&gt;

&lt;P&gt;| rest splunk_server=servername /services/licenser/pools | rename title AS Pool | search [rest splunk_server=servername /services/licenser/groups | search is_active=1 | eval stack_id=stack_ids | fields stack_id] | eval quota=if(isnull(effective_quota),quota,effective_quota) | eval "used"=round(used_bytes/quota*100,2) |where used &amp;gt; 80| fields "used"&lt;/P&gt;

&lt;P&gt;Once Scheduled have it run every hour in the scheduler and alert based on the "Where used &amp;gt; 80" that SHOULD work for you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:18:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-to-check-license-usage-every-hour-and-send-an/m-p/225841#M66611</guid>
      <dc:creator>hagjos43</dc:creator>
      <dc:date>2020-09-29T07:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to search to check license usage every hour and send an alert email every 10 mins upon reaching 80%?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-to-check-license-usage-every-hour-and-send-an/m-p/225842#M66612</link>
      <description>&lt;P&gt;Created a saved search with | rest /services/licenser/usage | eval usage = slaves_usage_bytes/quota| fields usage | where usage &amp;gt;0.80&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:27:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-to-check-license-usage-every-hour-and-send-an/m-p/225842#M66612</guid>
      <dc:creator>valiquet</dc:creator>
      <dc:date>2020-09-29T22:27:51Z</dc:date>
    </item>
  </channel>
</rss>

