<?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: License Utilization Trending in Installation</title>
    <link>https://community.splunk.com/t5/Installation/License-Utilization-Trending/m-p/70994#M1173</link>
    <description>&lt;P&gt;We have pooling and I try and track our license usage (and trying to trend).&lt;/P&gt;

&lt;P&gt;I have a scheduled search that runs at 1am in the morning and writes to a summary index (summary_admin) to speed things up.  &lt;/P&gt;

&lt;P&gt;Scheduled search:&lt;BR /&gt;
index=_internal host=LICENSE_SERVER_HOSTNAME earliest=-1d@d latest=@d type=Usage st!=splunk_metrics | rename st AS sourcetype | stats sum(eval(b/1024/1024/1024)) AS GB by sourcetype&lt;/P&gt;

&lt;P&gt;I then run the following search in Advanced Charting:&lt;BR /&gt;
index=summary_admin earliest=-30d@d latest=@d | timechart useother="f" span=1d max(GB) by orig_sourcetype | addtotals | sort -_time&lt;/P&gt;

&lt;P&gt;Without the summary index it takes some time to run.&lt;/P&gt;

&lt;P&gt;To back fill the summary index you can use the python script or use the gui and do:&lt;/P&gt;

&lt;P&gt;earliest=-2d@d latest=-1d@d index=_internal host=LICENSE_SERVER_HOSTNAME  type=Usage st!=splunk_metrics | rename st AS sourcetype | stats sum(eval(b/1024/1024/1024)) AS GB by sourcetype | collect index=summary_admin&lt;/P&gt;

&lt;P&gt;Just change earliest and latest by one day at a time.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jan 2013 15:39:54 GMT</pubDate>
    <dc:creator>rmorlen</dc:creator>
    <dc:date>2013-01-31T15:39:54Z</dc:date>
    <item>
      <title>License Utilization Trending</title>
      <link>https://community.splunk.com/t5/Installation/License-Utilization-Trending/m-p/70991#M1170</link>
      <description>&lt;P&gt;I have license pooling implemented and would like to generate a report that would chart utilization per day over the past 30 days. Any ideas on how to do that? I had a report that tracked this for each host before I started pooling, but that doesn't work for the pool.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2012 19:46:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/License-Utilization-Trending/m-p/70991#M1170</guid>
      <dc:creator>sleathley</dc:creator>
      <dc:date>2012-06-08T19:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: License Utilization Trending</title>
      <link>https://community.splunk.com/t5/Installation/License-Utilization-Trending/m-p/70992#M1171</link>
      <description>&lt;P&gt;Something like this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source="*license_usage.*" earliest=-30d@d |eval MB=round(b/1024/1024,1)| eval LMB=round(poolsz/1024/1024,1)|timechart span=1d sum(MB) AS Daily_MB values(LMB) AS Limit_MB by pool
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That would at least give you an idea of where to start. Other than that you could take a peek on how the searches for the Deployment Monitor are built.&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2012 19:59:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/License-Utilization-Trending/m-p/70992#M1171</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-06-08T19:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: License Utilization Trending</title>
      <link>https://community.splunk.com/t5/Installation/License-Utilization-Trending/m-p/70993#M1172</link>
      <description>&lt;P&gt;Yep, I get zero output for that just like my pre-pooling search now produces, which was:&lt;BR /&gt;
index=_internal host=indexer* todaysBytesIndexed LicenseManager-Audit source=*license_audit.log | eval Daily_Indexing_Volume_in_MBs = todaysBytesIndexed/1024/1024 | bucket _time span=1d | stats avg(Daily_Indexing_Volume_in_MBs) AS UsageMB first(licenseSize) AS LicenseSize by _time host | eval UsagePercent=UsageMB/LicenseSize*100 | eval UsagePercent=round(UsagePercent, 2) | table _time host LicenseSize UsageMB UsagePercent&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:55:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/License-Utilization-Trending/m-p/70993#M1172</guid>
      <dc:creator>sleathley</dc:creator>
      <dc:date>2020-09-28T11:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: License Utilization Trending</title>
      <link>https://community.splunk.com/t5/Installation/License-Utilization-Trending/m-p/70994#M1173</link>
      <description>&lt;P&gt;We have pooling and I try and track our license usage (and trying to trend).&lt;/P&gt;

&lt;P&gt;I have a scheduled search that runs at 1am in the morning and writes to a summary index (summary_admin) to speed things up.  &lt;/P&gt;

&lt;P&gt;Scheduled search:&lt;BR /&gt;
index=_internal host=LICENSE_SERVER_HOSTNAME earliest=-1d@d latest=@d type=Usage st!=splunk_metrics | rename st AS sourcetype | stats sum(eval(b/1024/1024/1024)) AS GB by sourcetype&lt;/P&gt;

&lt;P&gt;I then run the following search in Advanced Charting:&lt;BR /&gt;
index=summary_admin earliest=-30d@d latest=@d | timechart useother="f" span=1d max(GB) by orig_sourcetype | addtotals | sort -_time&lt;/P&gt;

&lt;P&gt;Without the summary index it takes some time to run.&lt;/P&gt;

&lt;P&gt;To back fill the summary index you can use the python script or use the gui and do:&lt;/P&gt;

&lt;P&gt;earliest=-2d@d latest=-1d@d index=_internal host=LICENSE_SERVER_HOSTNAME  type=Usage st!=splunk_metrics | rename st AS sourcetype | stats sum(eval(b/1024/1024/1024)) AS GB by sourcetype | collect index=summary_admin&lt;/P&gt;

&lt;P&gt;Just change earliest and latest by one day at a time.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 15:39:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/License-Utilization-Trending/m-p/70994#M1173</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2013-01-31T15:39:54Z</dc:date>
    </item>
  </channel>
</rss>

