<?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: How to calculate successful percentage grouped by another field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-successful-percentage-grouped-by-another-field/m-p/597463#M208009</link>
    <description>&lt;P&gt;Give this a try (and may be post your question as text instead of picture next time&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&amp;nbsp;)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Your Base search
| where status="Received" OR status="Success"
| stats count(eval(status="Received")) as Received count(eval(status="Success")) as Success by sourceNodeCode labelType
| eval SuccessRate=round((Success*100)/ Received,2)
| stats list(labelType) as labelType list(Received) as GenerationCount list(SuccessRate) as "SuccessRate%" by sourceNodeCode&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 18:20:24 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2022-05-11T18:20:24Z</dc:date>
    <item>
      <title>How to calculate successful percentage grouped by another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-successful-percentage-grouped-by-another-field/m-p/597438#M207998</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="csahoo_0-1652283566233.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19587i7D09E8CEDBEEFEB8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="csahoo_0-1652283566233.png" alt="csahoo_0-1652283566233.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 15:46:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-successful-percentage-grouped-by-another-field/m-p/597438#M207998</guid>
      <dc:creator>csahoo</dc:creator>
      <dc:date>2022-05-11T15:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate successful percentage grouped by another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-successful-percentage-grouped-by-another-field/m-p/597447#M208005</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ITWhisperer_0-1652286765400.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19588i3D4DF7D1DD165ECD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ITWhisperer_0-1652286765400.png" alt="ITWhisperer_0-1652286765400.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 16:32:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-successful-percentage-grouped-by-another-field/m-p/597447#M208005</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-11T16:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate successful percentage grouped by another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-successful-percentage-grouped-by-another-field/m-p/597463#M208009</link>
      <description>&lt;P&gt;Give this a try (and may be post your question as text instead of picture next time&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&amp;nbsp;)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Your Base search
| where status="Received" OR status="Success"
| stats count(eval(status="Received")) as Received count(eval(status="Success")) as Success by sourceNodeCode labelType
| eval SuccessRate=round((Success*100)/ Received,2)
| stats list(labelType) as labelType list(Received) as GenerationCount list(SuccessRate) as "SuccessRate%" by sourceNodeCode&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 18:20:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-successful-percentage-grouped-by-another-field/m-p/597463#M208009</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-05-11T18:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate successful percentage grouped by another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-successful-percentage-grouped-by-another-field/m-p/597728#M208130</link>
      <description>&lt;P&gt;Thank you very much &amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/15147"&gt;@somesoni2&lt;/a&gt;&amp;nbsp;both the queries are working fine&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 07:21:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-successful-percentage-grouped-by-another-field/m-p/597728#M208130</guid>
      <dc:creator>csahoo</dc:creator>
      <dc:date>2022-05-13T07:21:16Z</dc:date>
    </item>
  </channel>
</rss>

