<?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: Query to display average cpu usage for all splunk search heads &amp; indexers in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Query-to-display-average-cpu-usage-for-all-splunk-search-heads/m-p/207690#M60539</link>
    <description>&lt;P&gt;Thank @somesoni2&lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2016 20:17:14 GMT</pubDate>
    <dc:creator>jward6004</dc:creator>
    <dc:date>2016-09-23T20:17:14Z</dc:date>
    <item>
      <title>Query to display average cpu usage for all splunk search heads &amp; indexers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-to-display-average-cpu-usage-for-all-splunk-search-heads/m-p/207688#M60537</link>
      <description>&lt;P&gt;I'm building reporting for capacity planning to improve the performance across our splunk environment.  During my company's peak period of year, our indexers CPU gets pegged and I'd like to query for that date range to display this activity.  I've been trying out a few different queries but I have no been able to get quite what I'm looking for. &lt;/P&gt;

&lt;P&gt;index=main host=splunk* source="Perfmon:CPU" counter="% Processor Time" | stats avg(Value) as "CPU Processor Time" by host&lt;/P&gt;

&lt;P&gt;Can anyone also help me gather the avg &amp;gt; 75% cpu processor time?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 18:59:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-to-display-average-cpu-usage-for-all-splunk-search-heads/m-p/207688#M60537</guid>
      <dc:creator>jward6004</dc:creator>
      <dc:date>2016-09-23T18:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Query to display average cpu usage for all splunk search heads &amp; indexers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-to-display-average-cpu-usage-for-all-splunk-search-heads/m-p/207689#M60538</link>
      <description>&lt;P&gt;How about this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main host=splunk* source="Perfmon:CPU" counter="% Processor Time" | bucket span=1d _time | stats avg(Value) as avgcpu by _time host | where avgcpu&amp;gt;75.0| timechart span=1d  avg(avgcpu) as "CPU Processor Time" by host limit=0 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Sep 2016 19:19:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-to-display-average-cpu-usage-for-all-splunk-search-heads/m-p/207689#M60538</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-09-23T19:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Query to display average cpu usage for all splunk search heads &amp; indexers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-to-display-average-cpu-usage-for-all-splunk-search-heads/m-p/207690#M60539</link>
      <description>&lt;P&gt;Thank @somesoni2&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 20:17:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-to-display-average-cpu-usage-for-all-splunk-search-heads/m-p/207690#M60539</guid>
      <dc:creator>jward6004</dc:creator>
      <dc:date>2016-09-23T20:17:14Z</dc:date>
    </item>
  </channel>
</rss>

