<?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: How to identify host that is exhausting indexing quota? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-identify-host-that-is-exhausting-indexing-quota/m-p/296663#M56258</link>
    <description>&lt;P&gt;You should be querying the license usage log to accurate comparison of license (daily indexing volume) usage. &lt;/P&gt;

&lt;P&gt;Try this (from license server. Can query from search head if you're forwarding license server internal logs to your indexers)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type=Usage earliest=-2d@d | eval host=if(isnull(h) OR len(h)=0,"SQUASHED",h) | bucket span=1d _time | stats sum(b) as usage by _time host | eval usage_GB=round(usage/1024/1024/1024,2) 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 16 May 2017 18:30:11 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-05-16T18:30:11Z</dc:date>
    <item>
      <title>How to identify host that is exhausting indexing quota?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-identify-host-that-is-exhausting-indexing-quota/m-p/296662#M56257</link>
      <description>&lt;P&gt;I got the daily indexing quota exceeded in our Splunk v6.1 instance.&lt;BR /&gt;
I ran this query:&lt;/P&gt;

&lt;P&gt;earliest=-2d@d host=* index=* | eval raw_len=len(_raw)/1024/1024 | stats sum(raw_len) as "size/MB" by date_mday, host&lt;/P&gt;

&lt;P&gt;which gives me a table of date,  size (in MB) of events,  and hostnames.&lt;BR /&gt;
Adding the numbers up, and comparing over the past couple of days, I can't see how the quota was exceeded.&lt;/P&gt;

&lt;P&gt;Am I missing something in my query to identify the host that did the excessive logging?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:05:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-identify-host-that-is-exhausting-indexing-quota/m-p/296662#M56257</guid>
      <dc:creator>nk-1</dc:creator>
      <dc:date>2020-09-29T14:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify host that is exhausting indexing quota?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-identify-host-that-is-exhausting-indexing-quota/m-p/296663#M56258</link>
      <description>&lt;P&gt;You should be querying the license usage log to accurate comparison of license (daily indexing volume) usage. &lt;/P&gt;

&lt;P&gt;Try this (from license server. Can query from search head if you're forwarding license server internal logs to your indexers)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type=Usage earliest=-2d@d | eval host=if(isnull(h) OR len(h)=0,"SQUASHED",h) | bucket span=1d _time | stats sum(b) as usage by _time host | eval usage_GB=round(usage/1024/1024/1024,2) 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 May 2017 18:30:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-identify-host-that-is-exhausting-indexing-quota/m-p/296663#M56258</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-05-16T18:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify host that is exhausting indexing quota?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-identify-host-that-is-exhausting-indexing-quota/m-p/296664#M56259</link>
      <description>&lt;P&gt;Thanks for that query, somesoni2! &lt;BR /&gt;
The host has been identified. It appears that the Forwarder on that host was not sending events for some time, and when the host was rebooted, all the backlogged events possibly got sent at once.&lt;BR /&gt;
How does one flush the Forwarder before a reboot in such situations, to avoid a torrent of events?&lt;BR /&gt;
These are not critical events to keep.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 22:36:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-identify-host-that-is-exhausting-indexing-quota/m-p/296664#M56259</guid>
      <dc:creator>nk-1</dc:creator>
      <dc:date>2017-05-16T22:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify host that is exhausting indexing quota?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-identify-host-that-is-exhausting-indexing-quota/m-p/296665#M56260</link>
      <description>&lt;P&gt;Found this in the docs, e.g. &lt;BR /&gt;
ignoreOlderThan = 2d&lt;/P&gt;

&lt;P&gt;in inputs.conf&lt;/P&gt;

&lt;P&gt;(looks like that should prevent excessive logging of older events)&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 17:56:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-identify-host-that-is-exhausting-indexing-quota/m-p/296665#M56260</guid>
      <dc:creator>nk-1</dc:creator>
      <dc:date>2017-05-18T17:56:59Z</dc:date>
    </item>
  </channel>
</rss>

