<?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: Percent search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Percent-search/m-p/453519#M172353</link>
    <description>&lt;P&gt;it's work ! thanks &lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2019 09:07:35 GMT</pubDate>
    <dc:creator>aalaa</dc:creator>
    <dc:date>2019-03-21T09:07:35Z</dc:date>
    <item>
      <title>Percent search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percent-search/m-p/453517#M172351</link>
      <description>&lt;P&gt;Hello , &lt;/P&gt;

&lt;P&gt;I have a table, each line of this table has a specific value, I need a search command to calculate the percentage of each line on the sum of these values .&lt;/P&gt;

&lt;P&gt;Any help please ? &lt;BR /&gt;
Thanks &lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 08:32:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percent-search/m-p/453517#M172351</guid>
      <dc:creator>aalaa</dc:creator>
      <dc:date>2019-03-21T08:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Percent search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percent-search/m-p/453518#M172352</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Please try below query, replace &lt;CODE&gt;&amp;lt;fieldname&amp;gt;&lt;/CODE&gt; with actual fieldname.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;yourBaseSearch&amp;gt;
| eventstats sum(&amp;lt;fieldname&amp;gt;) as total
| eval percentage=(&amp;lt;fieldname&amp;gt;/total)*100
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Mar 2019 08:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percent-search/m-p/453518#M172352</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-03-21T08:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Percent search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percent-search/m-p/453519#M172353</link>
      <description>&lt;P&gt;it's work ! thanks &lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 09:07:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percent-search/m-p/453519#M172353</guid>
      <dc:creator>aalaa</dc:creator>
      <dc:date>2019-03-21T09:07:35Z</dc:date>
    </item>
  </channel>
</rss>

