<?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: What is using up my license in Installation</title>
    <link>https://community.splunk.com/t5/Installation/How-to-create-a-search-to-investigate-source-of-over-limit/m-p/201312#M3201</link>
    <description>&lt;P&gt;This recent post can be helpful as well. &lt;A href="https://answers.splunk.com/answers/469643/how-to-write-a-serach-to-list-hosts-sending-data-b.html#answer-469655"&gt;https://answers.splunk.com/answers/469643/how-to-write-a-serach-to-list-hosts-sending-data-b.html#answer-469655&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Nov 2016 13:07:16 GMT</pubDate>
    <dc:creator>rjthibod</dc:creator>
    <dc:date>2016-11-01T13:07:16Z</dc:date>
    <item>
      <title>How to create a search to investigate source of over-limit license usage?</title>
      <link>https://community.splunk.com/t5/Installation/How-to-create-a-search-to-investigate-source-of-over-limit/m-p/201310#M3199</link>
      <description>&lt;P&gt;I have received a message saying today that my license using is nearly 3 times my limit. I cannot find anything in particular that is causing this. My current 1GB/day Enterprise license seems to be valid until next year.&lt;/P&gt;
&lt;P&gt;Can anyone give me a search that will give me some idea what is using up my license as I do not want this to continue.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 17:12:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-create-a-search-to-investigate-source-of-over-limit/m-p/201310#M3199</guid>
      <dc:creator>terryjohn</dc:creator>
      <dc:date>2020-06-17T17:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is using up my license</title>
      <link>https://community.splunk.com/t5/Installation/How-to-create-a-search-to-investigate-source-of-over-limit/m-p/201311#M3200</link>
      <description>&lt;P&gt;You could try this one.&lt;/P&gt;

&lt;P&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, 01 Nov 2016 12:46:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-create-a-search-to-investigate-source-of-over-limit/m-p/201311#M3200</guid>
      <dc:creator>JDukeSplunk</dc:creator>
      <dc:date>2016-11-01T12:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: What is using up my license</title>
      <link>https://community.splunk.com/t5/Installation/How-to-create-a-search-to-investigate-source-of-over-limit/m-p/201312#M3201</link>
      <description>&lt;P&gt;This recent post can be helpful as well. &lt;A href="https://answers.splunk.com/answers/469643/how-to-write-a-serach-to-list-hosts-sending-data-b.html#answer-469655"&gt;https://answers.splunk.com/answers/469643/how-to-write-a-serach-to-list-hosts-sending-data-b.html#answer-469655&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 13:07:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-create-a-search-to-investigate-source-of-over-limit/m-p/201312#M3201</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2016-11-01T13:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: What is using up my license</title>
      <link>https://community.splunk.com/t5/Installation/How-to-create-a-search-to-investigate-source-of-over-limit/m-p/201313#M3202</link>
      <description>&lt;P&gt;You should look at 'Settings&amp;gt;Licensing&amp;gt;Last 30 days' and sort by host, sourcetype, index and find out what is eating your license up. Once you identify what index its coming from, you can then drill down in that index and see what sourcetypes/sources are logging a lot. &lt;/P&gt;

&lt;P&gt;If you don't have access to your license usage, then you can use the following searches &lt;/P&gt;

&lt;P&gt;Here's a search to sort licenses usage by index&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type="Usage" | eval h=if(len(h)=0 OR isnull(h),"(SQUASHED)",h) | eval s=if(len(s)=0 OR isnull(s),"(SQUASHED)",s) | eval idx=if(len(idx)=0 OR isnull(idx),"(UNKNOWN)",idx) | bin _time span=1d | stats sum(b) as b by _time, pool, s, st, h, idx   | timechart span=1d sum(b) AS volumeB by idx fixedrange=false  | join type=outer _time [search index=_internal source=*license_usage.log type="RolloverSummary" earliest=-30d@d | eval _time=_time - 43200 | bin _time span=1d | stats latest(stacksz) AS "stack size" by _time] | fields - _timediff  | foreach * [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=round('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'/1024/1024/1024, 3)]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here's a search to sort by sourcetype&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type="Usage" | eval h=if(len(h)=0 OR isnull(h),"(SQUASHED)",h) | eval s=if(len(s)=0 OR isnull(s),"(SQUASHED)",s) | eval idx=if(len(idx)=0 OR isnull(idx),"(UNKNOWN)",idx) | bin _time span=1d | stats sum(b) as b by _time, pool, s, st, h, idx   | timechart span=1d sum(b) AS volumeB by st fixedrange=false  | join type=outer _time [search index=_internal source=*license_usage.log type="RolloverSummary" earliest=-30d@d | eval _time=_time - 43200 | bin _time span=1d | stats latest(stacksz) AS "stack size" by _time] | fields - _timediff  | foreach * [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=round('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'/1024/1024/1024, 3)]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Nov 2016 13:24:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-create-a-search-to-investigate-source-of-over-limit/m-p/201313#M3202</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-11-01T13:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: What is using up my license</title>
      <link>https://community.splunk.com/t5/Installation/How-to-create-a-search-to-investigate-source-of-over-limit/m-p/201314#M3203</link>
      <description>&lt;P&gt;I found the index search gave me the results I need. By selecting a search just for Today and View Events then sorting by "b". I have one host generating an enormous amount of messages. I had my suspicions on that host anyway but now I can target it with more confidence. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 14:18:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-create-a-search-to-investigate-source-of-over-limit/m-p/201314#M3203</guid>
      <dc:creator>terryjohn</dc:creator>
      <dc:date>2016-11-01T14:18:37Z</dc:date>
    </item>
  </channel>
</rss>

