<?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: Compare Lookup CSV with Search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Compare-Lookup-CSV-with-Search/m-p/243130#M72383</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;sourcetype=foo NOT [inputlookup hostname.csv | fields+ host]
| stats values(host) AS new_hosts
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The subsearch will exclude all known hosts from the list, so only new hosts are shown in the results&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2015 14:34:42 GMT</pubDate>
    <dc:creator>HeinzWaescher</dc:creator>
    <dc:date>2015-11-23T14:34:42Z</dc:date>
    <item>
      <title>Compare Lookup CSV with Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Compare-Lookup-CSV-with-Search/m-p/243129#M72382</link>
      <description>&lt;P&gt;Dear Experts ,&lt;/P&gt;

&lt;P&gt;I have created the Lookup Hostname.csv(Contain only one field Hostname) which contain 100 number of hosts. I need to write a search to compare the hostname.csv with current search(List of unique hostname ) to get the new hostname come to network comparing with hostname.csv.&lt;/P&gt;

&lt;P&gt;Lets say 101 , a new host came to network . Need to compare with hostname.csv . Display in search output&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 14:21:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Compare-Lookup-CSV-with-Search/m-p/243129#M72382</guid>
      <dc:creator>sumit29</dc:creator>
      <dc:date>2015-11-23T14:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Lookup CSV with Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Compare-Lookup-CSV-with-Search/m-p/243130#M72383</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;sourcetype=foo NOT [inputlookup hostname.csv | fields+ host]
| stats values(host) AS new_hosts
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The subsearch will exclude all known hosts from the list, so only new hosts are shown in the results&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 14:34:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Compare-Lookup-CSV-with-Search/m-p/243130#M72383</guid>
      <dc:creator>HeinzWaescher</dc:creator>
      <dc:date>2015-11-23T14:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Lookup CSV with Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Compare-Lookup-CSV-with-Search/m-p/243131#M72384</link>
      <description>&lt;P&gt;hmm, did not work for me until I did:&lt;/P&gt;

&lt;P&gt;index=blah [inputlookup hostname.csv | table host] | stats values(host) AS "Hosts appearing in Splunk, not on my list"&lt;/P&gt;

&lt;P&gt;didn't use the "fields+"&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 15:11:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Compare-Lookup-CSV-with-Search/m-p/243131#M72384</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2017-03-29T15:11:04Z</dc:date>
    </item>
  </channel>
</rss>

