<?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: using perc with variable percentile value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/using-perc-with-variable-percentile-value/m-p/107482#M27927</link>
    <description>&lt;P&gt;I think thats not possible... but I am not a Splunk Ninja.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jul 2012 09:50:30 GMT</pubDate>
    <dc:creator>jensihnow</dc:creator>
    <dc:date>2012-07-25T09:50:30Z</dc:date>
    <item>
      <title>using perc with variable percentile value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-perc-with-variable-percentile-value/m-p/107481#M27926</link>
      <description>&lt;P&gt;hi guys,&lt;BR /&gt;
I want to use eventstats-&amp;gt;perc function. This function is form perc*&lt;EM&gt;10&lt;/EM&gt;&lt;EM&gt;(x) in order to get the 10 percentile value. I want that the 10 int perc&lt;/EM&gt;&lt;EM&gt;10&lt;/EM&gt;* will be a variable, meaning that the same function could be used to calculate different percentile values.&lt;BR /&gt;
Is it possible?&lt;/P&gt;

&lt;P&gt;example:&lt;BR /&gt;
| eval percVal=10&lt;BR /&gt;
| eventstats perc&lt;PERCVAL&gt;(count) as topPrecentBar&lt;BR /&gt;
how to make the above statement to work?&lt;/PERCVAL&gt;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-perc-with-variable-percentile-value/m-p/107481#M27926</guid>
      <dc:creator>dadi</dc:creator>
      <dc:date>2020-09-28T12:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: using perc with variable percentile value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-perc-with-variable-percentile-value/m-p/107482#M27927</link>
      <description>&lt;P&gt;I think thats not possible... but I am not a Splunk Ninja.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2012 09:50:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-perc-with-variable-percentile-value/m-p/107482#M27927</guid>
      <dc:creator>jensihnow</dc:creator>
      <dc:date>2012-07-25T09:50:30Z</dc:date>
    </item>
  </channel>
</rss>

