<?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: Percentile 25 and Percentile 75 provides different result while using streamstats and stats in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Percentile-25-and-Percentile-75-provides-different-result-while/m-p/521359#M146916</link>
    <description>&lt;P&gt;I get the expected results when I use streamstats without the window option.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval value="15,26,18" 
| makemv delim="," value 
| mvexpand value 
| fields - _time 
| streamstats p25(value) p75(value)&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 24 Sep 2020 19:11:40 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-09-24T19:11:40Z</dc:date>
    <item>
      <title>Percentile 25 and Percentile 75 provides different result while using streamstats and stats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percentile-25-and-Percentile-75-provides-different-result-while/m-p/521356#M146914</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have 3 values 15,26,18. Now assume my 18 is my latest value and i want to find p25 and p75 including the latest value by using all 3 values. If done i should one statistics with 2 column.&lt;/P&gt;&lt;P&gt;I tried to it by using stats and below is a picture.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kirantcs_0-1600973423304.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10970iBD6B00DC0ABD72FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kirantcs_0-1600973423304.png" alt="Kirantcs_0-1600973423304.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now i verified the same via internet and found the values as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kirantcs_1-1600973551058.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10971i40ECC0C3917E11DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kirantcs_1-1600973551058.png" alt="Kirantcs_1-1600973551058.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kirantcs_2-1600973575356.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10972iB97F929156BDB431/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kirantcs_2-1600973575356.png" alt="Kirantcs_2-1600973575356.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i dont understaad why dont i get the same value while using streamstats, I use window=3 which shud consider all 3 value and since its streaming, shouldn't it just look at previous 3 values(current=t) and find p25 and p75?&lt;/P&gt;&lt;P&gt;Then why am i getting different values as below? Just look at the last row values.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kirantcs_0-1600973141462.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10969iC4706508839BEF13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kirantcs_0-1600973141462.png" alt="Kirantcs_0-1600973141462.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 18:57:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percentile-25-and-Percentile-75-provides-different-result-while/m-p/521356#M146914</guid>
      <dc:creator>Kirantcs</dc:creator>
      <dc:date>2020-09-24T18:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Percentile 25 and Percentile 75 provides different result while using streamstats and stats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percentile-25-and-Percentile-75-provides-different-result-while/m-p/521359#M146916</link>
      <description>&lt;P&gt;I get the expected results when I use streamstats without the window option.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval value="15,26,18" 
| makemv delim="," value 
| mvexpand value 
| fields - _time 
| streamstats p25(value) p75(value)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 24 Sep 2020 19:11:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percentile-25-and-Percentile-75-provides-different-result-while/m-p/521359#M146916</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-24T19:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Percentile 25 and Percentile 75 provides different result while using streamstats and stats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percentile-25-and-Percentile-75-provides-different-result-while/m-p/521361#M146917</link>
      <description>&lt;P&gt;Yes&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;, care to explain how?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 19:20:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percentile-25-and-Percentile-75-provides-different-result-while/m-p/521361#M146917</guid>
      <dc:creator>Kirantcs</dc:creator>
      <dc:date>2020-09-24T19:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Percentile 25 and Percentile 75 provides different result while using streamstats and stats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percentile-25-and-Percentile-75-provides-different-result-while/m-p/521368#M146920</link>
      <description>&lt;P&gt;I can't explain it other that to say I tested several window values and only zero produced the expected results.&amp;nbsp; It's definitely non-intuitive.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 20:04:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percentile-25-and-Percentile-75-provides-different-result-while/m-p/521368#M146920</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-24T20:04:18Z</dc:date>
    </item>
  </channel>
</rss>

