<?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 Getting Proper Averages from Summary Index in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Getting-Proper-Averages-from-Summary-Index/m-p/327488#M2818</link>
    <description>&lt;P&gt;First, as an example, I wanted to share that I thought the Question, and responses in this SA post was excellent and I stole the formatting Idea from the OP, and hope it will help:  &lt;A href="https://answers.splunk.com/answers/48641/summary-index-noob-question.html" target="_blank"&gt;https://answers.splunk.com/answers/48641/summary-index-noob-question.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;first, the summary search:&lt;BR /&gt;
- search name = "Summary CPU Usage".&lt;BR /&gt;
- search = "sourcetype="Perfmon:CPU" counter="% Processor Time" instance="_Total" | sitimechart span=5m limit=0 avg(Value) by host".&lt;BR /&gt;
- start time = "-20m@m" finish time = "-5m@m".&lt;BR /&gt;
- scheduled to run every 5 minutes.&lt;BR /&gt;
- alert condition = always.&lt;BR /&gt;
- alert mode = once per search.&lt;BR /&gt;
- summary indexing = enabled.&lt;BR /&gt;
- summary index = "Performance_Summary".&lt;BR /&gt;
- added fields: "report" = "cpu_usage".&lt;/P&gt;

&lt;P&gt;-Report Search:  index=Performance_Summary report="cpu_usage" | timechart span=15m count by host"&lt;/P&gt;

&lt;P&gt;But this returns so many statitstics that it makes the graph unusable.   And also, in doing by host as noted above it just pulls back the name of my search head not each individual node.   I understand that this would need to be changed to orig_host, but why is that, and is there a way to change that, as users may not know when they need to do that to Summary Data.  &lt;/P&gt;

&lt;P&gt;Thanks!&lt;BR /&gt;
Dustin&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 16:25:40 GMT</pubDate>
    <dc:creator>deastman</dc:creator>
    <dc:date>2020-09-29T16:25:40Z</dc:date>
    <item>
      <title>Getting Proper Averages from Summary Index</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Getting-Proper-Averages-from-Summary-Index/m-p/327488#M2818</link>
      <description>&lt;P&gt;First, as an example, I wanted to share that I thought the Question, and responses in this SA post was excellent and I stole the formatting Idea from the OP, and hope it will help:  &lt;A href="https://answers.splunk.com/answers/48641/summary-index-noob-question.html" target="_blank"&gt;https://answers.splunk.com/answers/48641/summary-index-noob-question.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;first, the summary search:&lt;BR /&gt;
- search name = "Summary CPU Usage".&lt;BR /&gt;
- search = "sourcetype="Perfmon:CPU" counter="% Processor Time" instance="_Total" | sitimechart span=5m limit=0 avg(Value) by host".&lt;BR /&gt;
- start time = "-20m@m" finish time = "-5m@m".&lt;BR /&gt;
- scheduled to run every 5 minutes.&lt;BR /&gt;
- alert condition = always.&lt;BR /&gt;
- alert mode = once per search.&lt;BR /&gt;
- summary indexing = enabled.&lt;BR /&gt;
- summary index = "Performance_Summary".&lt;BR /&gt;
- added fields: "report" = "cpu_usage".&lt;/P&gt;

&lt;P&gt;-Report Search:  index=Performance_Summary report="cpu_usage" | timechart span=15m count by host"&lt;/P&gt;

&lt;P&gt;But this returns so many statitstics that it makes the graph unusable.   And also, in doing by host as noted above it just pulls back the name of my search head not each individual node.   I understand that this would need to be changed to orig_host, but why is that, and is there a way to change that, as users may not know when they need to do that to Summary Data.  &lt;/P&gt;

&lt;P&gt;Thanks!&lt;BR /&gt;
Dustin&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:25:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Getting-Proper-Averages-from-Summary-Index/m-p/327488#M2818</guid>
      <dc:creator>deastman</dc:creator>
      <dc:date>2020-09-29T16:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Proper Averages from Summary Index</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Getting-Proper-Averages-from-Summary-Index/m-p/327489#M2819</link>
      <description>&lt;P&gt;Let's start with the host question.&lt;/P&gt;

&lt;P&gt;your underlying query is this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="Perfmon:CPU" counter="% Processor Time" instance="_Total"
| sitimechart span=5m limit=0 avg(Value) by host".
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The values for &lt;CODE&gt;host&lt;/CODE&gt; that will be set in the summary index will be the &lt;CODE&gt;host&lt;/CODE&gt; field that was in the &lt;CODE&gt;Perfmon:CPU&lt;/CODE&gt; records.  &lt;/P&gt;

&lt;P&gt;If that data only tracks your search heads, then that is the only thing in your summary index at the moment. To me, that seems unlikely, unless your search heads are set up for performance monitoring and the rest of your hosts are not.  &lt;/P&gt;

&lt;P&gt;More likely, your search heads may just be the most busy, so their records are the ones that get prioritized by the &lt;CODE&gt;timechart&lt;/CODE&gt; command.&lt;/P&gt;

&lt;P&gt;To validate this, pick a couple of non-search head hosts and do this...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=Performance_Summary report="cpu_usage" 
    host="myfirsthost" OR host="mysecondhost"
 | timechart span=15m count by host 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Assuming that shows good data, then we can ignore your &lt;CODE&gt;orighost&lt;/CODE&gt; question, and move on to the big question.  If not, then we need to backtrack and figure out what is going on with your system monitoring data.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;&lt;STRONG&gt;The big question&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;What are your users doing with the data?&lt;/P&gt;

&lt;P&gt;If they are trying to find busy servers, then maybe you need to segment the data a little more.  &lt;/P&gt;

&lt;P&gt;To make the best data visualization, you always have to assume the role of the person who you are making it for.&lt;/P&gt;

&lt;P&gt;If I'm trying to find out which servers are being pounded, then maybe I want to see only servers that have more than 75% CPU.  &lt;/P&gt;

&lt;P&gt;If I'm trying to find out how my overall processes are running, maybe I want to see a summary of how many servers are running at each 10% increment (therefore ten lines).  Or maybe I want &amp;lt;25% blue, 25-50% green, 50-75% yellow, 75-90% orange, 90%+ red.&lt;/P&gt;

&lt;P&gt;The key is to always ask why anyone needs to look at the graph in the first place, what's the most important thing they need to know, and what's the next thing they are going to want to do with what they learn.  &lt;/P&gt;

&lt;P&gt;Once you identify that, then you can work out the data viz that allows them to do their job most easily.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 14:42:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Getting-Proper-Averages-from-Summary-Index/m-p/327489#M2819</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-10-26T14:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Proper Averages from Summary Index</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Getting-Proper-Averages-from-Summary-Index/m-p/327490#M2820</link>
      <description>&lt;P&gt;Per Feedback from my End User in this case:  I would be interested in having an average of CPU and memory in use every five minutes and every hour.    I asked for further clarification and they users wants simply an average of CPU utilization over a 5 minute window, or over a 1 hour window/host.   &lt;/P&gt;

&lt;P&gt;I hope this helps clarify the use case.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 16:58:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Getting-Proper-Averages-from-Summary-Index/m-p/327490#M2820</guid>
      <dc:creator>deastman</dc:creator>
      <dc:date>2017-10-26T16:58:42Z</dc:date>
    </item>
  </channel>
</rss>

