<?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 License Usage in Installation</title>
    <link>https://community.splunk.com/t5/Installation/License-Usage/m-p/106952#M1841</link>
    <description>&lt;P&gt;I am looking for the search that is used to calculate the indexing volume under the status tab in the search app.&lt;/P&gt;

&lt;P&gt;I think the data comes from the &lt;CODE&gt;index=_internal source="*license_usage.log"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I can't get the math right I am using &lt;CODE&gt;| eval mb=b/1048576  | stats sum(mb) by h&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;But this is not giving me the same number at the indexing volume search&lt;/P&gt;

&lt;P&gt;Anyone know how they calculate this number??&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jul 2012 16:56:09 GMT</pubDate>
    <dc:creator>hartfoml</dc:creator>
    <dc:date>2012-07-24T16:56:09Z</dc:date>
    <item>
      <title>License Usage</title>
      <link>https://community.splunk.com/t5/Installation/License-Usage/m-p/106952#M1841</link>
      <description>&lt;P&gt;I am looking for the search that is used to calculate the indexing volume under the status tab in the search app.&lt;/P&gt;

&lt;P&gt;I think the data comes from the &lt;CODE&gt;index=_internal source="*license_usage.log"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I can't get the math right I am using &lt;CODE&gt;| eval mb=b/1048576  | stats sum(mb) by h&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;But this is not giving me the same number at the indexing volume search&lt;/P&gt;

&lt;P&gt;Anyone know how they calculate this number??&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2012 16:56:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/License-Usage/m-p/106952#M1841</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2012-07-24T16:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: License Usage</title>
      <link>https://community.splunk.com/t5/Installation/License-Usage/m-p/106953#M1842</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index="_internal" source="*metrics*" group=per_index_thruput NOT series="_*" | stats sum(kb) as KB_indexed by date_month ,date_mday,date_year,splunk_server | eventcount summarize=false report_size=true index=* | fields index count server size_bytes | sort - count 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But this is the &lt;STRONG&gt;index size&lt;/STRONG&gt; then to get proper license usage the following search would be best:&lt;/P&gt;

&lt;P&gt;sum per day per pool for the previous days : &lt;CODE&gt;index=_internal source=*license_usage* type=RolloverSummary | bucket _time span=1d | stats sum(b) AS volume by _time pool&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;detail per pool: &lt;CODE&gt;index=_internal source=*license_usage.log type=Usage | eval GB=b/1024/1024/1024 | timechart span=1d sum(GB) by pool&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;detail per source type : &lt;CODE&gt;index=_internal source=*license_usage.log type=Usage | eval GB=b/1024/1024/1024 | timechart span=1d sum(GB) by st useother=false&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;detail per host: &lt;CODE&gt;index=_internal source=*license_usage.log type=Usage | eval GB=b/1024/1024/1024 | timechart span=1d sum(GB) by h useother=false&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;detail per indexer: &lt;CODE&gt;index=_internal source=*license_usage.log type=Usage | eval GB=b/1024/1024/1024 | timechart span=1d sum(GB) by i useother=false&lt;/CODE&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2012 17:12:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/License-Usage/m-p/106953#M1842</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-07-24T17:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: License Usage</title>
      <link>https://community.splunk.com/t5/Installation/License-Usage/m-p/106954#M1843</link>
      <description>&lt;P&gt;Here it is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*metrics.log group=X | eval MB=kb/1024
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I found it in the XML for the view, under &lt;STRONG&gt;Manager » User interface » Views » indexing_volume&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;The X should be one of the &lt;CODE&gt;group&lt;/CODE&gt; field values&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;per_index_thruput&lt;/LI&gt;
&lt;LI&gt;per_sourcetype_thruput&lt;/LI&gt;
&lt;LI&gt;per_source_thruput&lt;/LI&gt;
&lt;LI&gt;per_host_thruput&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 24 Jul 2012 17:24:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/License-Usage/m-p/106954#M1843</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-07-24T17:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: License Usage</title>
      <link>https://community.splunk.com/t5/Installation/License-Usage/m-p/106955#M1844</link>
      <description>&lt;P&gt;Thanks for your help Marco and Ms Guinn&lt;/P&gt;

&lt;P&gt;his search comes close&lt;/P&gt;

&lt;P&gt;| eval MB=b/1024/1024 | timechart span=1d sum(MB) by h&lt;/P&gt;

&lt;P&gt;I get 559.109342 with the search above and for the same time period I get 560.3007612295 when I use the indexing_volume view mentioned above&lt;/P&gt;

&lt;P&gt;Can you try on your system to see if you can reconcile the difference???&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2012 18:08:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/License-Usage/m-p/106955#M1844</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2012-07-24T18:08:15Z</dc:date>
    </item>
  </channel>
</rss>

