<?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: Results in percentage in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Results-in-percentage/m-p/435618#M124207</link>
    <description>&lt;P&gt;can you try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=hocus_pocus OR index=shazam 
    [| inputlookup Server_list.csv 
    | rename DnsName AS host 
    | fields host] 
| fields host 
| fields - _raw _time 
| dedup host 
| eval "logfound"="1" 
| eval host=lower(host) 
| eventstats sum(logfound) as total | eval perc=logfound/total*100 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 08 Aug 2019 15:57:59 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2019-08-08T15:57:59Z</dc:date>
    <item>
      <title>Results in percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Results-in-percentage/m-p/435615#M124204</link>
      <description>&lt;P&gt;Hello fellow Splunkers. I made a query that shows the right results. I would like to show these results in percentage.&lt;/P&gt;

&lt;P&gt;This is my query:&lt;/P&gt;

&lt;P&gt;index=hocus_pocus OR index=shazam&lt;BR /&gt;
    [| inputlookup Server_list.csv &lt;BR /&gt;
    | rename DnsName AS host &lt;BR /&gt;
    | fields host] &lt;BR /&gt;
| fields host &lt;BR /&gt;
| fields - _raw _time&lt;BR /&gt;
| dedup host &lt;BR /&gt;
| eval "logfound"="1" &lt;BR /&gt;
| eval host=lower(host) &lt;BR /&gt;
| addcoltotals &lt;BR /&gt;
| tail 1 &lt;BR /&gt;
| fields logfound&lt;/P&gt;

&lt;P&gt;Thanks guys&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:39:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Results-in-percentage/m-p/435615#M124204</guid>
      <dc:creator>KarnN</dc:creator>
      <dc:date>2020-09-30T01:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Results in percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Results-in-percentage/m-p/435616#M124205</link>
      <description>&lt;P&gt;Please post a table or image showing what the output looks like now, and where you want percentages.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 15:39:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Results-in-percentage/m-p/435616#M124205</guid>
      <dc:creator>jpolvino</dc:creator>
      <dc:date>2019-08-08T15:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Results in percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Results-in-percentage/m-p/435617#M124206</link>
      <description>&lt;P&gt;Hi jpolvino, thanks for the response.&lt;BR /&gt;
I basically want a percentage of the total. I now get a result of the total of 22 servers in total. 16 has been found. I want this to be displayed in percentage. I will place a image of the total&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 15:53:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Results-in-percentage/m-p/435617#M124206</guid>
      <dc:creator>KarnN</dc:creator>
      <dc:date>2019-08-08T15:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Results in percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Results-in-percentage/m-p/435618#M124207</link>
      <description>&lt;P&gt;can you try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=hocus_pocus OR index=shazam 
    [| inputlookup Server_list.csv 
    | rename DnsName AS host 
    | fields host] 
| fields host 
| fields - _raw _time 
| dedup host 
| eval "logfound"="1" 
| eval host=lower(host) 
| eventstats sum(logfound) as total | eval perc=logfound/total*100 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Aug 2019 15:57:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Results-in-percentage/m-p/435618#M124207</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2019-08-08T15:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Results in percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Results-in-percentage/m-p/435619#M124208</link>
      <description>&lt;P&gt;Hi mayurr98,&lt;/P&gt;

&lt;P&gt;Thank you for the support. I tried this query. I get a overview of the hosts but no total percentage of the foundservers &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 16:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Results-in-percentage/m-p/435619#M124208</guid>
      <dc:creator>KarnN</dc:creator>
      <dc:date>2019-08-08T16:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Results in percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Results-in-percentage/m-p/435620#M124209</link>
      <description>&lt;P&gt;Are there any other options?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 09:30:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Results-in-percentage/m-p/435620#M124209</guid>
      <dc:creator>KarnN</dc:creator>
      <dc:date>2019-08-16T09:30:08Z</dc:date>
    </item>
  </channel>
</rss>

