<?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: Index volume by host in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59763#M11792</link>
    <description>&lt;P&gt;THX, i have already read this, but didn't find a solution.&lt;/P&gt;

&lt;P&gt;I use this CLI --&amp;gt;&lt;/P&gt;

&lt;P&gt;/opt/splunk/bin/splunk search "index=internal source=*licenseusage.log type=Usage | eval GB=b/1024/1024/1024 | timechart span=1d sum(GB) by h useother=false" -auth test:test123&lt;/P&gt;

&lt;P&gt;My Problem is that - the output only has the first 10 Hosts --&amp;gt; (limits.conf --&amp;gt; maxseries = 200 ) - and the output is very long. i want to limit to the last day.&lt;/P&gt;

&lt;P&gt;Have you a solution?&lt;/P&gt;</description>
    <pubDate>Tue, 11 Dec 2012 14:58:11 GMT</pubDate>
    <dc:creator>jkeRE</dc:creator>
    <dc:date>2012-12-11T14:58:11Z</dc:date>
    <item>
      <title>Index volume by host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59760#M11789</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
i am searching for a CLI Search Command which gives me the result of the daily Indexed volume per Host.&lt;/P&gt;

&lt;P&gt;Which is the same as i do it via the GUI / Browser --&amp;gt;&lt;BR /&gt;
Splunk  --&amp;gt; Status --&amp;gt; Index activity --&amp;gt; Indexing Volume --&amp;gt; Split by Host / Yesterday&lt;/P&gt;

&lt;P&gt;THX J.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 13:27:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59760#M11789</guid>
      <dc:creator>jkeRE</dc:creator>
      <dc:date>2012-12-11T13:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Index volume by host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59761#M11790</link>
      <description>&lt;P&gt;You can find several different queries here - &lt;A href="http://wiki.splunk.com/Community:TroubleshootingIndexedDataVolume"&gt;http://wiki.splunk.com/Community:TroubleshootingIndexedDataVolume&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 14:32:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59761#M11790</guid>
      <dc:creator>bosburn_splunk</dc:creator>
      <dc:date>2012-12-11T14:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Index volume by host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59762#M11791</link>
      <description>&lt;P&gt;I run this across the last two weeks and look at it fairly often:&lt;/P&gt;

&lt;P&gt;index=_internal source=*license_usage.log type=Usage | eval GB=b/1024/1024/1024 | timechart span=1d sum(GB) by s useother=false | reverse&lt;/P&gt;

&lt;P&gt;You could adapt that for host use instead of source fairly easily...&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:56:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59762#M11791</guid>
      <dc:creator>jtrucks</dc:creator>
      <dc:date>2020-09-28T12:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Index volume by host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59763#M11792</link>
      <description>&lt;P&gt;THX, i have already read this, but didn't find a solution.&lt;/P&gt;

&lt;P&gt;I use this CLI --&amp;gt;&lt;/P&gt;

&lt;P&gt;/opt/splunk/bin/splunk search "index=internal source=*licenseusage.log type=Usage | eval GB=b/1024/1024/1024 | timechart span=1d sum(GB) by h useother=false" -auth test:test123&lt;/P&gt;

&lt;P&gt;My Problem is that - the output only has the first 10 Hosts --&amp;gt; (limits.conf --&amp;gt; maxseries = 200 ) - and the output is very long. i want to limit to the last day.&lt;/P&gt;

&lt;P&gt;Have you a solution?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 14:58:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59763#M11792</guid>
      <dc:creator>jkeRE</dc:creator>
      <dc:date>2012-12-11T14:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Index volume by host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59764#M11793</link>
      <description>&lt;P&gt;For "yesterday" you would include&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=-1d@d latest=@d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in your search before the first pipe.&lt;/P&gt;

&lt;P&gt;Then I would use stats instead of timechart to give data for every host in a table format:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  | stats sum(GB) by h
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Dec 2012 15:09:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59764#M11793</guid>
      <dc:creator>jspears</dc:creator>
      <dc:date>2012-12-11T15:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Index volume by host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59765#M11794</link>
      <description>&lt;P&gt;You can use time modifiers (it defaults to all time):&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/SearchTimeModifiers"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/SearchTimeModifiers&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;so preface your search with: earliest=-1d@d latest=-0d@d&lt;/P&gt;

&lt;P&gt;That will go midnight to midnight for yesterday, for example.&lt;/P&gt;

&lt;P&gt;Also, add: limit=0&lt;/P&gt;

&lt;P&gt;To get all hosts (or limit=100 or whatever).&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 15:10:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59765#M11794</guid>
      <dc:creator>jtrucks</dc:creator>
      <dc:date>2012-12-11T15:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Index volume by host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59766#M11795</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;what is wrong:&lt;/P&gt;

&lt;P&gt;/opt/splunk/bin/splunk search "index=_internal source=*license_usage.log type=Usage | earliest=-1d@d | eval GB=b/1024/1024/1024 | stats sum(GB) by h | reverse"  -auth test:test123&lt;/P&gt;

&lt;P&gt;Unknown search command 'earliest'.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:56:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59766#M11795</guid>
      <dc:creator>jkeRE</dc:creator>
      <dc:date>2020-09-28T12:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Index volume by host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59767#M11796</link>
      <description>&lt;P&gt;earliest and latest, if used,  must be placed before the first pipe.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 15:52:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59767#M11796</guid>
      <dc:creator>jspears</dc:creator>
      <dc:date>2012-12-11T15:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Index volume by host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59768#M11797</link>
      <description>&lt;P&gt;earliest is a search parameter, so you want to do this:&lt;/P&gt;

&lt;P&gt;/opt/splunk/bin/splunk search "index=_internal source=*license_usage.log type=Usage earliest=-1d@d | eval GB=b/1024/1024/1024 | stats sum(GB) by h | reverse"  -auth test:test123&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:56:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59768#M11797</guid>
      <dc:creator>jtrucks</dc:creator>
      <dc:date>2020-09-28T12:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Index volume by host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59769#M11798</link>
      <description>&lt;P&gt;Thanx, &lt;BR /&gt;
this work !!&lt;/P&gt;

&lt;P&gt;And what have i apend that the result is sort by most volume first?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 06:56:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59769#M11798</guid>
      <dc:creator>jkeRE</dc:creator>
      <dc:date>2012-12-12T06:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Index volume by host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59770#M11799</link>
      <description>&lt;P&gt;I found it!!!&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;

&lt;P&gt;/opt/splunk/bin/splunk search "index=_internal source=*license_usage.log type=Usage earliest=-1d@d latest=-0d@d | eval MB=b/1024/1034 | stats sum(MB) by h | sort sum(MB) | reverse"  -auth test:test123&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:57:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59770#M11799</guid>
      <dc:creator>jkeRE</dc:creator>
      <dc:date>2020-09-28T12:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Index volume by host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59771#M11800</link>
      <description>&lt;P&gt;Use&lt;/P&gt;

&lt;P&gt;| sort -host&lt;/P&gt;

&lt;P&gt;See more clicking on &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/sort"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/sort&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 10:46:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-volume-by-host/m-p/59771#M11800</guid>
      <dc:creator>wagnerbianchi</dc:creator>
      <dc:date>2012-12-12T10:46:04Z</dc:date>
    </item>
  </channel>
</rss>

