<?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 Descriptive Statistics from Splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Descriptive-Statistics-from-Splunk/m-p/101200#M21203</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I was using Splunk to crawl my Apache logs and I found something rather odd analyzing the mean page size served.  To better qualify this, I limited the search results to only lines that had a value for bytes served.&lt;/P&gt;

&lt;P&gt;Splunk told me that I was serving a mean page size of 33.3 KB which is very reasonable and a range of 1-~5 MB.  The standard deviation, however, was 217.9 KB.&lt;/P&gt;

&lt;P&gt;This strikes me as odd because it means there's roughly a 44% probability [z(0) = -0.1526] that I'm serving a negative page size which is not possible especially given that I limited the data set to non-zero values.  I understand it could be statistically possible, but I'd expect a pagesize of 0 to reside at least 2 standard deviations from the mean.&lt;/P&gt;

&lt;P&gt;Any insights?&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2011 21:14:12 GMT</pubDate>
    <dc:creator>pstout</dc:creator>
    <dc:date>2011-05-12T21:14:12Z</dc:date>
    <item>
      <title>Descriptive Statistics from Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Descriptive-Statistics-from-Splunk/m-p/101200#M21203</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I was using Splunk to crawl my Apache logs and I found something rather odd analyzing the mean page size served.  To better qualify this, I limited the search results to only lines that had a value for bytes served.&lt;/P&gt;

&lt;P&gt;Splunk told me that I was serving a mean page size of 33.3 KB which is very reasonable and a range of 1-~5 MB.  The standard deviation, however, was 217.9 KB.&lt;/P&gt;

&lt;P&gt;This strikes me as odd because it means there's roughly a 44% probability [z(0) = -0.1526] that I'm serving a negative page size which is not possible especially given that I limited the data set to non-zero values.  I understand it could be statistically possible, but I'd expect a pagesize of 0 to reside at least 2 standard deviations from the mean.&lt;/P&gt;

&lt;P&gt;Any insights?&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2011 21:14:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Descriptive-Statistics-from-Splunk/m-p/101200#M21203</guid>
      <dc:creator>pstout</dc:creator>
      <dc:date>2011-05-12T21:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Descriptive Statistics from Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Descriptive-Statistics-from-Splunk/m-p/101201#M21204</link>
      <description>&lt;P&gt;Making strong inferences like that about standard deviation only works when the data set follows the normal distribution.    In cases like this where the data really doesnt follow a normal distribution at all, standard deviation becomes little more than a heuristic.&lt;/P&gt;

&lt;P&gt;UPDATE: &lt;BR /&gt;
if you want to look at the distribution yourself you can to to the 'Advanced Charting' view and run this search: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your search&amp;gt; bytes=* | chart count over bytes bins=300
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;There are probably a significant number of outliers at a very high number of bytes, and that's what's skewing your distribution.   On my system I have to throw in a term that says &lt;CODE&gt;bytes&amp;lt;200000000&lt;/CODE&gt; because I have enough outliers at the crazy-high end to completely throw off the chart. &lt;/P&gt;

&lt;P&gt;at any rate, unless the chart literally looks like the curve of normal distribution, ( &lt;A href="http://www.google.com/search?q=normal+distribution&amp;amp;hl=en&amp;amp;rlz=1C1CHFX_enUS396US396&amp;amp;prmd=ivns&amp;amp;tbm=isch&amp;amp;tbo=u&amp;amp;source=univ&amp;amp;sa=X&amp;amp;ei=RZLMTeOeEI66sAP_79XiCA&amp;amp;ved=0CDQQsAQ&amp;amp;biw=1094&amp;amp;bih=990"&gt;http://www.google.com/search?q=normal+distribution&amp;amp;hl=en&amp;amp;rlz=1C1CHFX_enUS396US396&amp;amp;prmd=ivns&amp;amp;tbm=isch&amp;amp;tbo=u&amp;amp;source=univ&amp;amp;sa=X&amp;amp;ei=RZLMTeOeEI66sAP_79XiCA&amp;amp;ved=0CDQQsAQ&amp;amp;biw=1094&amp;amp;bih=990&lt;/A&gt; )  then those probabilistic statements about standard deviation will not be 'true'.  When applied outside of normally distributed data, actually quite a lot of common statistics lose their meaning.  &lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2011 21:37:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Descriptive-Statistics-from-Splunk/m-p/101201#M21204</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-05-12T21:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Descriptive Statistics from Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Descriptive-Statistics-from-Splunk/m-p/101202#M21205</link>
      <description>&lt;P&gt;Hi Nick,&lt;/P&gt;

&lt;P&gt;I would expect this to be somewhat of a normal distribution (I failed to mention the range struck me as odd as well).  The logs on which Splunk chewed are for the webserver only -- meaning only HTML (and headers for redirects, 404s, etc) are being served.  We use Amazon CloudFront to distribute static assets including images, video, scripts, and stylesheets.  The CDN origin logs to a different file and I did not import the origin logfiles to avoid skewing the data.&lt;/P&gt;

&lt;P&gt;The one-week logfile contained more than 1.5m lines and is the very reason I've never tried to analyze this by hand &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2011 21:46:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Descriptive-Statistics-from-Splunk/m-p/101202#M21205</guid>
      <dc:creator>pstout</dc:creator>
      <dc:date>2011-05-12T21:46:08Z</dc:date>
    </item>
  </channel>
</rss>

