<?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 for one index broken down by sourcetype in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/License-usage-for-one-index-broken-down-by-sourcetype/m-p/292718#M55759</link>
    <description>&lt;P&gt;How can I get a license usage for one index broken down by sourcetype? I know this question came up recently in different manifestations ; -) sorry.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Nov 2017 20:04:06 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2017-11-21T20:04:06Z</dc:date>
    <item>
      <title>License usage for one index broken down by sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/License-usage-for-one-index-broken-down-by-sourcetype/m-p/292718#M55759</link>
      <description>&lt;P&gt;How can I get a license usage for one index broken down by sourcetype? I know this question came up recently in different manifestations ; -) sorry.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 20:04:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/License-usage-for-one-index-broken-down-by-sourcetype/m-p/292718#M55759</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-11-21T20:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: License usage for one index broken down by sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/License-usage-for-one-index-broken-down-by-sourcetype/m-p/292719#M55760</link>
      <description>&lt;P&gt;If you find yourself needing to break out license usage statistics often, you might find it helpful to check out the License Usage app, which includes queries for license usage by index/sourcetype/etc.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/174/#/overview"&gt;https://splunkbase.splunk.com/app/174/#/overview&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;But in particular, this question had a good answer that breaks out license usage by indexname and sourcetype: &lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/417031/license-usage-by-source-type.html"&gt;https://answers.splunk.com/answers/417031/license-usage-by-source-type.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 20:29:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/License-usage-for-one-index-broken-down-by-sourcetype/m-p/292719#M55760</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2017-11-21T20:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: License usage for one index broken down by sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/License-usage-for-one-index-broken-down-by-sourcetype/m-p/292720#M55761</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd source=*license_usage.log type=Usage idx=YourIndexHere
| stats sum(b) as usage by idx st | eval usage_MB=round(usage/1024/1024,3)
| rename idx and index st as sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Nov 2017 20:31:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/License-usage-for-one-index-broken-down-by-sourcetype/m-p/292720#M55761</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-11-21T20:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: License usage for one index broken down by sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/License-usage-for-one-index-broken-down-by-sourcetype/m-p/292721#M55762</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=_internal source="*/license_usage.log" component=LicenseUsage idx=&amp;lt;your index&amp;gt;
| timechart sum(b) AS b BY st
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the license usage events &lt;CODE&gt;idx&lt;/CODE&gt; is the index and &lt;CODE&gt;st&lt;/CODE&gt; is the sourcetype that the licensing metrics are detailing.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 20:31:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/License-usage-for-one-index-broken-down-by-sourcetype/m-p/292721#M55762</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2017-11-21T20:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: License usage for one index broken down by sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/License-usage-for-one-index-broken-down-by-sourcetype/m-p/292722#M55763</link>
      <description>&lt;P&gt;Start here - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log* Usage 
| eval s=coalesce(s,"unknown"), eval st=coalesce(st,"unknown") 
|  stats sum(b) as bytes by idx s st
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Nov 2017 20:37:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/License-usage-for-one-index-broken-down-by-sourcetype/m-p/292722#M55763</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-11-21T20:37:06Z</dc:date>
    </item>
  </channel>
</rss>

