<?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: Finding difficulty in getting the result as count in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Finding-difficulty-in-getting-the-result-as-count/m-p/558277#M158582</link>
    <description>&lt;P&gt;Hello, this worked. Thank you. Can you please also let me know how the values could be renamed here? for eg&amp;nbsp;Success as "Successfull", NA as "Failed to complete"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when I try the query given by you is there a way to place the result as needed. Below is the result from the query.&lt;/P&gt;&lt;P&gt;Failed NA Skipped Success&lt;/P&gt;&lt;TABLE width="239px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="40px"&gt;4&lt;/TD&gt;&lt;TD width="40px"&gt;12&lt;/TD&gt;&lt;TD width="48.8854px"&gt;1&lt;/TD&gt;&lt;TD width="109.115px"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I rearrange the given result as below:&lt;/P&gt;&lt;P&gt;Successfull&amp;nbsp; &amp;nbsp; Unsuccessfull(Failed)&amp;nbsp; &amp;nbsp; Skipped&amp;nbsp; &amp;nbsp; &amp;nbsp;Failed to complete(NA)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jul 2021 07:53:28 GMT</pubDate>
    <dc:creator>srinivas_gowda</dc:creator>
    <dc:date>2021-07-05T07:53:28Z</dc:date>
    <item>
      <title>Finding difficulty in getting the result as count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Finding-difficulty-in-getting-the-result-as-count/m-p/558272#M158580</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing an issue below while trying to get the result to add in the dashboard.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I am trying to get the count for the servers based on their Overall_Status.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;| My search |&amp;nbsp;&lt;/P&gt;&lt;P&gt;|search Overall_Status="Success" OR Overall_Status="Failed" OR Overall_Status="Skipped" OR Overall_Status="NA"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I will now need to get the result as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Success&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Failed&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Skipped&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NA&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This could then be added to the dashboard. Can you please guide me through this.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 07:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Finding-difficulty-in-getting-the-result-as-count/m-p/558272#M158580</guid>
      <dc:creator>srinivas_gowda</dc:creator>
      <dc:date>2021-07-05T07:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Finding difficulty in getting the result as count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Finding-difficulty-in-getting-the-result-as-count/m-p/558273#M158581</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/30894"&gt;@srinivas_gowda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try by adding this.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|stats count by Overall_Status | transpose 0 header_field="Overall_Status" | fields - column&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KV&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 07:40:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Finding-difficulty-in-getting-the-result-as-count/m-p/558273#M158581</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-07-05T07:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Finding difficulty in getting the result as count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Finding-difficulty-in-getting-the-result-as-count/m-p/558277#M158582</link>
      <description>&lt;P&gt;Hello, this worked. Thank you. Can you please also let me know how the values could be renamed here? for eg&amp;nbsp;Success as "Successfull", NA as "Failed to complete"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when I try the query given by you is there a way to place the result as needed. Below is the result from the query.&lt;/P&gt;&lt;P&gt;Failed NA Skipped Success&lt;/P&gt;&lt;TABLE width="239px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="40px"&gt;4&lt;/TD&gt;&lt;TD width="40px"&gt;12&lt;/TD&gt;&lt;TD width="48.8854px"&gt;1&lt;/TD&gt;&lt;TD width="109.115px"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I rearrange the given result as below:&lt;/P&gt;&lt;P&gt;Successfull&amp;nbsp; &amp;nbsp; Unsuccessfull(Failed)&amp;nbsp; &amp;nbsp; Skipped&amp;nbsp; &amp;nbsp; &amp;nbsp;Failed to complete(NA)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 07:53:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Finding-difficulty-in-getting-the-result-as-count/m-p/558277#M158582</guid>
      <dc:creator>srinivas_gowda</dc:creator>
      <dc:date>2021-07-05T07:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Finding difficulty in getting the result as count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Finding-difficulty-in-getting-the-result-as-count/m-p/558285#M158583</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/30894"&gt;@srinivas_gowda&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;YOUR_SEARCH
|stats count by Overall_Status | transpose 0 header_field="Overall_Status" | fields - column | rename Success as "Successfull", NA as "Failed to complete(NA)", Failed as "Unsuccessfull(Failed)" | table Successfull "Unsuccessfull(Failed)" Skipped "Failed to complete(NA)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 08:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Finding-difficulty-in-getting-the-result-as-count/m-p/558285#M158583</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-07-05T08:42:35Z</dc:date>
    </item>
  </channel>
</rss>

