<?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 get Indexer utilization of last 24 hrs. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207471#M176052</link>
    <description>&lt;P&gt;Have you looked at Distributed Monitoring Console which is available with Splunk Enterprise instance and looks at several Splunk performance aspects inclusing Indexers and indexing like:&lt;BR /&gt;
1) search head and indexer clustering&lt;BR /&gt;
2) index and volume usage&lt;BR /&gt;
3) indexing performance&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/DMC/DMCoverview"&gt;https://docs.splunk.com/Documentation/Splunk/latest/DMC/DMCoverview&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Dec 2016 11:57:39 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2016-12-28T11:57:39Z</dc:date>
    <item>
      <title>How to get Indexer utilization of last 24 hrs.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207470#M176051</link>
      <description>&lt;P&gt;Hi Guys, &lt;/P&gt;

&lt;P&gt;I am trying to get the utilization of all the indexer for last 24 hrs.  I am trying to enter below string but it is giving me the data of the total capacity of the indexers, not only last 24hrs. &lt;/P&gt;

&lt;P&gt;| eventcount summarize=false report_size=true index="*"  timechart span=1d sum(GB) | eval size_MB=size_bytes/(1024*1024) | eval size_GB=size_MB/1024 | where size_GB &amp;gt; 5 | sort -size_GB | head 10&lt;/P&gt;

&lt;P&gt;I have tried below string from the Splunk refereces but it doesn't work for me. &lt;/P&gt;

&lt;P&gt;index=_internal todaysbytesindexed startdaysago=30 | eval GB_Indexed = todaysBytesIndexed/1024/1024/1024 | timechart span=1d avg(GB_Indexed&lt;/P&gt;

&lt;P&gt;index="_internal" source="*metrics.log" per_index_thruput | eval GB=kb/(1024*1024) | timechart span=1d sum(GB) | convert ctime(_time) as timestamp&lt;/P&gt;

&lt;P&gt;Can somebody correct me or answer me to help on this? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:12:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207470#M176051</guid>
      <dc:creator>Steave4app</dc:creator>
      <dc:date>2020-09-29T12:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Indexer utilization of last 24 hrs.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207471#M176052</link>
      <description>&lt;P&gt;Have you looked at Distributed Monitoring Console which is available with Splunk Enterprise instance and looks at several Splunk performance aspects inclusing Indexers and indexing like:&lt;BR /&gt;
1) search head and indexer clustering&lt;BR /&gt;
2) index and volume usage&lt;BR /&gt;
3) indexing performance&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/DMC/DMCoverview"&gt;https://docs.splunk.com/Documentation/Splunk/latest/DMC/DMCoverview&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 11:57:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207471#M176052</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2016-12-28T11:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Indexer utilization of last 24 hrs.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207472#M176053</link>
      <description>&lt;P&gt;Hi Niket,&lt;/P&gt;

&lt;P&gt;Thanks for the response.  We have not Splunk enterprise app. With having some limited resource at this moment, I am searching by this query.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 12:03:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207472#M176053</guid>
      <dc:creator>Steave4app</dc:creator>
      <dc:date>2016-12-28T12:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Indexer utilization of last 24 hrs.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207473#M176054</link>
      <description>&lt;P&gt;Hi Steave4app,&lt;BR /&gt;
You could use the search that you can find in the License usage dashboard:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal [`set_local_host`] source=*license_usage.log* type="RolloverSummary" earliest=-30d@d   | eval _time=_time - 43200 | bin _time span=1d | stats latest(b) AS b by slave, pool, _time | eval slave_guid=slave | stats max(b) AS volume by slave_guid, _time | join type=outer slave_guid [rest splunk_server=local /services/licenser/slaves | rename label AS slave_name title AS slave_guid | table slave_guid slave_name] | eval slave_name = if(isnotnull(slave_name),slave_name,"GUID: ".slave_guid) | timechart span=1d max(volume) AS "volume" by slave_name fixedrange=false | join type=outer _time [search index=_internal [`set_local_host`] source=*license_usage.log* type="RolloverSummary" earliest=-30d@d | eval _time=_time - 43200 | bin _time span=1d | stats latest(stacksz) AS "dimensione dello stack" 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;that gives the total volume of indexed logs for each Indexer.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 12:08:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207473#M176054</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-12-28T12:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Indexer utilization of last 24 hrs.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207474#M176055</link>
      <description>&lt;P&gt;Hi Cusello,&lt;/P&gt;

&lt;P&gt;Sir, I have checked but it did not work for me.  Kindly see below error while running this query. &lt;/P&gt;

&lt;P&gt;[subsearch]: Failed to fetch REST endpoint uri=&lt;A href="https://127.0.0.1:8089/services/licenser/slaves?count=0"&gt;https://127.0.0.1:8089/services/licenser/slaves?count=0&lt;/A&gt; from server=&lt;A href="https://127.0.0.1:8089"&gt;https://127.0.0.1:8089&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Can you help me to get guidance on my query? &lt;/P&gt;

&lt;P&gt;Kind Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 12:12:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207474#M176055</guid>
      <dc:creator>Steave4app</dc:creator>
      <dc:date>2016-12-28T12:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Indexer utilization of last 24 hrs.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207475#M176056</link>
      <description>&lt;P&gt;hi Steave4app &lt;BR /&gt;
try this:&lt;BR /&gt;
index=_internal [&lt;CODE&gt;set_local_host&lt;/CODE&gt;] source=&lt;EM&gt;license_usage.log&lt;/EM&gt; type="RolloverSummary" earliest=-30d@d   | eval _time=_time - 43200 | bin _time span=1d | stats latest(b) AS b by slave, pool, _time | eval slave_guid=slave | stats max(b) AS volume by slave_guid, _time  | eval slave_name = if(isnotnull(slave_name),slave_name,"GUID: ".slave_guid) | timechart span=1d max(volume) AS "volume" by slave_name fixedrange=false  | fields - _timediff  | foreach * [eval &amp;lt;&amp;gt;=round('&amp;lt;&amp;gt;'/1024/1024/1024, 3)]&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:12:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207475#M176056</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T12:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Indexer utilization of last 24 hrs.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207476#M176057</link>
      <description>&lt;P&gt;Can you see if you have access to Splunk's _internal index?&lt;/P&gt;

&lt;P&gt;index=_internal sourcetype=splunkd source="*metrics.log" group=per_Index_thruput | timechart sum(kb) by series &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:12:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-Indexer-utilization-of-last-24-hrs/m-p/207476#M176057</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-29T12:12:24Z</dc:date>
    </item>
  </channel>
</rss>

