<?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 use Inputlookup in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Inputlookup/m-p/320742#M4478</link>
    <description>&lt;P&gt;Something like this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=foo sourcetype=bar | stats count by ip | eval class = "reporting"
| inputlookup append=t your_file_containing_a_list_of_ips | eval class = coalesce(class, "expected")
| stats values(class) as class by ip
| search class="expected" NOT class="reporting"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 21 Feb 2017 13:07:50 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2017-02-21T13:07:50Z</dc:date>
    <item>
      <title>How to use Inputlookup</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Inputlookup/m-p/320741#M4477</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
after importing a csv file i want to compare the hostnames/ipaddresses in the csv file not reporting iis using a specific index&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 12:06:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Inputlookup/m-p/320741#M4477</guid>
      <dc:creator>omrip</dc:creator>
      <dc:date>2017-02-21T12:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Inputlookup</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Inputlookup/m-p/320742#M4478</link>
      <description>&lt;P&gt;Something like this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=foo sourcetype=bar | stats count by ip | eval class = "reporting"
| inputlookup append=t your_file_containing_a_list_of_ips | eval class = coalesce(class, "expected")
| stats values(class) as class by ip
| search class="expected" NOT class="reporting"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Feb 2017 13:07:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Inputlookup/m-p/320742#M4478</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2017-02-21T13:07:50Z</dc:date>
    </item>
  </channel>
</rss>

