<?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 chart values only where 2 or more values are returned? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-values-only-where-2-or-more-values-are-returned/m-p/111764#M29300</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| chart count, values(status) as allStatuses by user | where mvcount(allStatuses) &amp;gt; 1&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Sep 2014 16:52:45 GMT</pubDate>
    <dc:creator>aweitzman</dc:creator>
    <dc:date>2014-09-04T16:52:45Z</dc:date>
    <item>
      <title>How to chart values only where 2 or more values are returned?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-values-only-where-2-or-more-values-are-returned/m-p/111763#M29299</link>
      <description>&lt;P&gt;I am using a chart function as follows: &lt;/P&gt;

&lt;P&gt;| chart count, values(status) by user&lt;/P&gt;

&lt;P&gt;and I only want to get back the results that have 2 or more statuses. I have tried some eval commands but I haven't gotten anything to work properly. &lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 16:11:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-values-only-where-2-or-more-values-are-returned/m-p/111763#M29299</guid>
      <dc:creator>ulikabbq</dc:creator>
      <dc:date>2014-09-04T16:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart values only where 2 or more values are returned?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-values-only-where-2-or-more-values-are-returned/m-p/111764#M29300</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| chart count, values(status) as allStatuses by user | where mvcount(allStatuses) &amp;gt; 1&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 16:52:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-values-only-where-2-or-more-values-are-returned/m-p/111764#M29300</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2014-09-04T16:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart values only where 2 or more values are returned?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-values-only-where-2-or-more-values-are-returned/m-p/111765#M29301</link>
      <description>&lt;P&gt;you can use the distinct count too&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| chart count, values(status) as allStatuses, dc(status) AS distinct_statuses by user | where distinct_statuses &amp;gt;   1 | fields - distinct_statuses&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 17:02:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-values-only-where-2-or-more-values-are-returned/m-p/111765#M29301</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-09-04T17:02:29Z</dc:date>
    </item>
  </channel>
</rss>

