<?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: Top 10 Customers - exclude OTHER in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Top-10-Customers-exclude-OTHER/m-p/129030#M35085</link>
    <description>&lt;P&gt;Try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="swerve_sales.csv" host="swerve" sourcetype="csv-sales" | timechart sum(TOTAL) as sales by FIRSTNAME useother=f | sort - sales | head 10
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 18 Jul 2015 22:52:01 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2015-07-18T22:52:01Z</dc:date>
    <item>
      <title>Top 10 Customers - exclude OTHER</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Top-10-Customers-exclude-OTHER/m-p/129028#M35083</link>
      <description>&lt;P&gt;I use below spl to get top 10 cust by sales, but looks like it is creating a OTHER category whcih i dont want to visualize in graph. How can i exclude it? OTHER is not in the data.&lt;/P&gt;

&lt;P&gt;source="swerve_sales.csv" host="swerve" sourcetype="csv-sales" | timechart sum(TOTAL) as sales by FIRSTNAME | sort - sales | head 10&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2015 21:55:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Top-10-Customers-exclude-OTHER/m-p/129028#M35083</guid>
      <dc:creator>ehaque</dc:creator>
      <dc:date>2015-07-18T21:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Top 10 Customers - exclude OTHER</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Top-10-Customers-exclude-OTHER/m-p/129029#M35084</link>
      <description>&lt;P&gt;try below&lt;/P&gt;

&lt;PRE&gt;source="swerve_sales.csv" host="swerve" sourcetype="csv-sales" | timechart limit=10 sum(TOTAL) as sales by FIRSTNAME
&lt;/PRE&gt;</description>
      <pubDate>Sat, 18 Jul 2015 21:59:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Top-10-Customers-exclude-OTHER/m-p/129029#M35084</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2015-07-18T21:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Top 10 Customers - exclude OTHER</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Top-10-Customers-exclude-OTHER/m-p/129030#M35085</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="swerve_sales.csv" host="swerve" sourcetype="csv-sales" | timechart sum(TOTAL) as sales by FIRSTNAME useother=f | sort - sales | head 10
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 18 Jul 2015 22:52:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Top-10-Customers-exclude-OTHER/m-p/129030#M35085</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-07-18T22:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Top 10 Customers - exclude OTHER</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Top-10-Customers-exclude-OTHER/m-p/129031#M35086</link>
      <description>&lt;P&gt;thanks guys!&lt;BR /&gt;
fyi, looks like with 'limit' i dont need to sort anymore. &lt;/P&gt;

&lt;P&gt;source="swerve_sales.csv" host="swerve" sourcetype="csv-sales" | timechart span=1w limit=10 useother=f sum(TOTAL) as sales by FIRSTNAME&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jul 2015 08:19:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Top-10-Customers-exclude-OTHER/m-p/129031#M35086</guid>
      <dc:creator>ehaque</dc:creator>
      <dc:date>2015-07-19T08:19:11Z</dc:date>
    </item>
  </channel>
</rss>

