<?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 search query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/search-query/m-p/33693#M7175</link>
    <description>&lt;P&gt;What is wrong with the following?&lt;/P&gt;

&lt;P&gt;index="app" | top productName NOT productName = "Not Specified"&lt;/P&gt;

&lt;P&gt;I want to extract a list of product names but I don't want to include "Not Specified" as part of the set.&lt;/P&gt;

&lt;P&gt;TIA&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2011 18:10:31 GMT</pubDate>
    <dc:creator>DTERM</dc:creator>
    <dc:date>2011-06-23T18:10:31Z</dc:date>
    <item>
      <title>search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-query/m-p/33693#M7175</link>
      <description>&lt;P&gt;What is wrong with the following?&lt;/P&gt;

&lt;P&gt;index="app" | top productName NOT productName = "Not Specified"&lt;/P&gt;

&lt;P&gt;I want to extract a list of product names but I don't want to include "Not Specified" as part of the set.&lt;/P&gt;

&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2011 18:10:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-query/m-p/33693#M7175</guid>
      <dc:creator>DTERM</dc:creator>
      <dc:date>2011-06-23T18:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-query/m-p/33694#M7176</link>
      <description>&lt;P&gt;Try excluding "not specified" in the original search string, before calling the top command.  Also, use !=&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="app" productName!="Not Specified" | top productName
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jun 2011 18:24:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-query/m-p/33694#M7176</guid>
      <dc:creator>sfleming</dc:creator>
      <dc:date>2011-06-23T18:24:06Z</dc:date>
    </item>
  </channel>
</rss>

