<?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 can I get common values from data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-common-values-from-data/m-p/443463#M125811</link>
    <description>&lt;P&gt;&lt;CODE&gt;| eventstats count by oper_field ,department| where count &amp;gt; 1 | stats list(oper_field) as gn by department&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Sep 2018 08:59:16 GMT</pubDate>
    <dc:creator>thambisetty</dc:creator>
    <dc:date>2018-09-05T08:59:16Z</dc:date>
    <item>
      <title>How can I get common values from data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-common-values-from-data/m-p/443462#M125810</link>
      <description>&lt;P&gt;Now ,I want to get common values from data.&lt;BR /&gt;
I use this command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;`index="new_1"  |stats list(oper_field)  as gn by department
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now ,I want to get a column to show  values which  count &amp;gt;=2&lt;/P&gt;

&lt;P&gt;For example :&lt;BR /&gt;
there have two "Model List" . I want to show it in another  column &lt;/P&gt;

&lt;P&gt;Please help me&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5718i434067612018242A/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 08:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-common-values-from-data/m-p/443462#M125810</guid>
      <dc:creator>WXY</dc:creator>
      <dc:date>2018-09-05T08:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get common values from data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-common-values-from-data/m-p/443463#M125811</link>
      <description>&lt;P&gt;&lt;CODE&gt;| eventstats count by oper_field ,department| where count &amp;gt; 1 | stats list(oper_field) as gn by department&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 08:59:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-common-values-from-data/m-p/443463#M125811</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2018-09-05T08:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get common values from data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-common-values-from-data/m-p/443464#M125812</link>
      <description>&lt;P&gt;Thank you!&lt;BR /&gt;
Now I have another question,can you help me?&lt;BR /&gt;
I want get data which  accounted for the largest proportion . such as  ,there are two "Model List" ,and all of data are three, the "Model List" is the largest proportion，what should I do?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 01:20:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-common-values-from-data/m-p/443464#M125812</guid>
      <dc:creator>WXY</dc:creator>
      <dc:date>2018-09-06T01:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get common values from data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-common-values-from-data/m-p/443465#M125813</link>
      <description>&lt;P&gt;Can you give me an example?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 03:17:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-common-values-from-data/m-p/443465#M125813</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2018-09-06T03:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get common values from data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-common-values-from-data/m-p/443466#M125814</link>
      <description>&lt;P&gt;what do you need me to offer you, my data or a sample of the results is shown ?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 04:03:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-common-values-from-data/m-p/443466#M125814</guid>
      <dc:creator>WXY</dc:creator>
      <dc:date>2018-09-06T04:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get common values from data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-common-values-from-data/m-p/443467#M125815</link>
      <description>&lt;P&gt;Sample input and output&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 04:30:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-common-values-from-data/m-p/443467#M125815</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2018-09-06T04:30:57Z</dc:date>
    </item>
  </channel>
</rss>

