<?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 do i get a count of each value of a field, and then extract the values whose count matches a certain number in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-get-a-count-of-each-value-of-a-field-and-then-extract/m-p/544807#M154270</link>
    <description>&lt;P&gt;Actually there was no need for me to store the values in a new field. Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 22 Mar 2021 17:17:49 GMT</pubDate>
    <dc:creator>ezmo1982</dc:creator>
    <dc:date>2021-03-22T17:17:49Z</dc:date>
    <item>
      <title>How do i get a count of each value of a field, and then extract the values whose count matches a certain number</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-get-a-count-of-each-value-of-a-field-and-then-extract/m-p/544013#M154093</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the below SPL which gets the count of each value of the field named "subject". I want to be able to select the values whose count is greater than 5. For example, if the search below returned 10 results, but only 2 had a count greater than 5, how can I pick those two values out and store them in new fields that i can reference after.&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=email_log RejType="Virus Signature Detection" | stats count by subject&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 14:32:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-get-a-count-of-each-value-of-a-field-and-then-extract/m-p/544013#M154093</guid>
      <dc:creator>ezmo1982</dc:creator>
      <dc:date>2021-03-16T14:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get a count of each value of a field, and then extract the values whose count matches a certain number</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-get-a-count-of-each-value-of-a-field-and-then-extract/m-p/544032#M154106</link>
      <description>&lt;P&gt;So you want to filter to only the subjects that have a count greater than 5?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index=email_log RejType="Virus Signature Detection"&lt;BR /&gt;| stats count by subject&lt;BR /&gt;| where count&amp;gt;5&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 16:45:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-get-a-count-of-each-value-of-a-field-and-then-extract/m-p/544032#M154106</guid>
      <dc:creator>peter_krammer</dc:creator>
      <dc:date>2021-03-16T16:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get a count of each value of a field, and then extract the values whose count matches a certain number</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-get-a-count-of-each-value-of-a-field-and-then-extract/m-p/544046#M154110</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225682"&gt;@ezmo1982&lt;/a&gt;&amp;nbsp;, Above search should give you first half or your requirement (filtering fields values whose count&amp;gt;5). For 2nd requirement (saving to a new field), please provide more information on what you intend to do with these values.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 18:17:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-get-a-count-of-each-value-of-a-field-and-then-extract/m-p/544046#M154110</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2021-03-16T18:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get a count of each value of a field, and then extract the values whose count matches a certain number</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-get-a-count-of-each-value-of-a-field-and-then-extract/m-p/544807#M154270</link>
      <description>&lt;P&gt;Actually there was no need for me to store the values in a new field. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 17:17:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-get-a-count-of-each-value-of-a-field-and-then-extract/m-p/544807#M154270</guid>
      <dc:creator>ezmo1982</dc:creator>
      <dc:date>2021-03-22T17:17:49Z</dc:date>
    </item>
  </channel>
</rss>

