<?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: Removing some results from stats count by function in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Removing-some-results-from-stats-count-by-function/m-p/514896#M144541</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224303"&gt;@DCUpro&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;after the stats count row, add a condition that filters results, something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| search NOT Labels="RCA_Required"&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 19 Aug 2020 10:27:13 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-08-19T10:27:13Z</dc:date>
    <item>
      <title>Removing some results from stats count by function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Removing-some-results-from-stats-count-by-function/m-p/514893#M144538</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm a bit of a newbie to splunk but I was trying to create a dashboard using the stats count by function for a field called 'Labels'&lt;/P&gt;&lt;P&gt;Within the labels field you can have multiple labels. An example would be:&lt;/P&gt;&lt;P&gt;Log1: Field name(Labels): RCA_Required, Sev1&lt;BR /&gt;Log2: Field name(Labels): RCA_Required, Sev2, Med_Ex&lt;BR /&gt;Log3: Field name(Labels):&amp;nbsp; Sev2&lt;/P&gt;&lt;P&gt;if I use the the function 'stats count by', I'll get:&lt;/P&gt;&lt;P&gt;RCA_Required: 2&lt;BR /&gt;Sev2: 2&lt;BR /&gt;Med_Ex: 1&lt;BR /&gt;Sev1: 1&lt;/P&gt;&lt;P&gt;My question is how can I remove 'RCA_Required' from the list without removing that log or missing the rest of the labels associated with that log.&lt;/P&gt;&lt;P&gt;My expected results would be:&lt;/P&gt;&lt;P&gt;Sev2: 2&lt;BR /&gt;Med_Ex: 1&lt;BR /&gt;Sev1: 1&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 10:21:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Removing-some-results-from-stats-count-by-function/m-p/514893#M144538</guid>
      <dc:creator>DCUpro</dc:creator>
      <dc:date>2020-08-19T10:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Removing some results from stats count by function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Removing-some-results-from-stats-count-by-function/m-p/514896#M144541</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224303"&gt;@DCUpro&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;after the stats count row, add a condition that filters results, something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| search NOT Labels="RCA_Required"&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 10:27:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Removing-some-results-from-stats-count-by-function/m-p/514896#M144541</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-08-19T10:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Removing some results from stats count by function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Removing-some-results-from-stats-count-by-function/m-p/514897#M144542</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; Thank you&lt;/P&gt;&lt;P&gt;This is exactly what I'm looking for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 10:31:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Removing-some-results-from-stats-count-by-function/m-p/514897#M144542</guid>
      <dc:creator>DCUpro</dc:creator>
      <dc:date>2020-08-19T10:31:32Z</dc:date>
    </item>
  </channel>
</rss>

