<?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: REST Calls for license usage in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/REST-Calls-for-license-usage/m-p/104679#M22039</link>
    <description>&lt;P&gt;on 4.3, please specify a type of records, otherwise you may count things twice.&lt;/P&gt;

&lt;P&gt;type=Usage &lt;/P&gt;

&lt;P&gt;type=RolloverSummary &lt;/P&gt;

&lt;P&gt;see the difference here : &lt;A href="http://wiki.splunk.com/Community:TroubleshootingIndexedDataVolume"&gt;http://wiki.splunk.com/Community:TroubleshootingIndexedDataVolume&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jul 2012 18:19:09 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2012-07-23T18:19:09Z</dc:date>
    <item>
      <title>REST Calls for license usage</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-Calls-for-license-usage/m-p/104678#M22038</link>
      <description>&lt;P&gt;Today I have this search to alert me on license usage going beyond certain threshold:&lt;BR /&gt;
Search: index=_internal source=*license_usage.log pool="auto_generated_pool_enterprise"| eval GB=b/1024/1024/1024 | stats sum(GB) as current_license_usage_auto_generated_pool_GB by pool&lt;/P&gt;

&lt;P&gt;Due to some reasons I am getting wrong results for the above ....How can I change this search to use rest endpoints ??&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:07:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-Calls-for-license-usage/m-p/104678#M22038</guid>
      <dc:creator>mphalak</dc:creator>
      <dc:date>2020-09-28T12:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: REST Calls for license usage</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-Calls-for-license-usage/m-p/104679#M22039</link>
      <description>&lt;P&gt;on 4.3, please specify a type of records, otherwise you may count things twice.&lt;/P&gt;

&lt;P&gt;type=Usage &lt;/P&gt;

&lt;P&gt;type=RolloverSummary &lt;/P&gt;

&lt;P&gt;see the difference here : &lt;A href="http://wiki.splunk.com/Community:TroubleshootingIndexedDataVolume"&gt;http://wiki.splunk.com/Community:TroubleshootingIndexedDataVolume&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jul 2012 18:19:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-Calls-for-license-usage/m-p/104679#M22039</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-07-23T18:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: REST Calls for license usage</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-Calls-for-license-usage/m-p/104680#M22040</link>
      <description>&lt;P&gt;Thanks I was able to get teh resulst with this search:&lt;/P&gt;

&lt;P&gt;| rest /services/licenser/pools | where title= "auto_generated_pool_enterprise" | table used_bytes, title | eval GB=used_bytes/1024/1024/1024&lt;/P&gt;

&lt;P&gt;BUT now when I set the same as saved search and try to send alert when GB&amp;gt;1 I see the following error: &lt;/P&gt;

&lt;P&gt;DEBUG: search context: user="admin", app="tto_search", bs-pathname="/opt/splunk/etc" &lt;BR /&gt;
INFO: No matching fields exist &lt;BR /&gt;
WARN: Unable to fetch REST endpoint '/services/licenser/pools' from ''&lt;/P&gt;

&lt;P&gt;ANY IDEA ???&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:08:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-Calls-for-license-usage/m-p/104680#M22040</guid>
      <dc:creator>mphalak</dc:creator>
      <dc:date>2020-09-28T12:08:00Z</dc:date>
    </item>
  </channel>
</rss>

