<?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 Values from inputlookup file not captured in syslog in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Values-from-inputlookup-file-not-captured-in-syslog/m-p/343144#M164376</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;I wrote below query to get the URLs from inputlookup file that is not captured in syslog.But didnt give me any results.Can someone please help me to find out the issue with below query.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;|inputlookup  URLs.csv | fields Domains| rename Domains as domain | join domain[search index=* sourcetype=syslog eventtype=DNS host="device1" OR host="device2" | where domain=""] | table domain&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Tue, 12 Dec 2017 15:44:03 GMT</pubDate>
    <dc:creator>Maverick904</dc:creator>
    <dc:date>2017-12-12T15:44:03Z</dc:date>
    <item>
      <title>Values from inputlookup file not captured in syslog</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Values-from-inputlookup-file-not-captured-in-syslog/m-p/343144#M164376</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;I wrote below query to get the URLs from inputlookup file that is not captured in syslog.But didnt give me any results.Can someone please help me to find out the issue with below query.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;|inputlookup  URLs.csv | fields Domains| rename Domains as domain | join domain[search index=* sourcetype=syslog eventtype=DNS host="device1" OR host="device2" | where domain=""] | table domain&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 12 Dec 2017 15:44:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Values-from-inputlookup-file-not-captured-in-syslog/m-p/343144#M164376</guid>
      <dc:creator>Maverick904</dc:creator>
      <dc:date>2017-12-12T15:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Values from inputlookup file not captured in syslog</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Values-from-inputlookup-file-not-captured-in-syslog/m-p/343145#M164377</link>
      <description>&lt;P&gt;I suggest you move your search strings around such that your &lt;CODE&gt;inputlookup&lt;/CODE&gt; is the one inside your &lt;CODE&gt;join&lt;/CODE&gt; search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype=syslog eventtype=DNS host="device1" OR host="device2" 
| where domain="" 
| join domain 
    [| inputlookup URLs.csv 
    | fields Domains 
    | rename Domains as domain 
    ] 
| table domain
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In your example (and in mine as I tried to keep it the same as yours), you are searching for an empty &lt;CODE&gt;domain&lt;/CODE&gt; field, but are also joining on the same &lt;CODE&gt;domain&lt;/CODE&gt; field.  This seems like it would cause an issue with your &lt;CODE&gt;join&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 16:43:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Values-from-inputlookup-file-not-captured-in-syslog/m-p/343145#M164377</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2017-12-12T16:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Values from inputlookup file not captured in syslog</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Values-from-inputlookup-file-not-captured-in-syslog/m-p/343146#M164378</link>
      <description>&lt;P&gt;@micahkemp&lt;/P&gt;

&lt;P&gt;Thank you so much for your input.I ran the query u have provided.But no results found.&lt;BR /&gt;
please Correct me if i am wrong.the query you have given,will take each domain from lookupfile and search it in syslog. And if the URL not found in syslog,then it will list in table?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 17:31:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Values-from-inputlookup-file-not-captured-in-syslog/m-p/343146#M164378</guid>
      <dc:creator>Maverick904</dc:creator>
      <dc:date>2017-12-12T17:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Values from inputlookup file not captured in syslog</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Values-from-inputlookup-file-not-captured-in-syslog/m-p/343147#M164379</link>
      <description>&lt;P&gt;I'm not sure that the search I pasted actually accomplishes anything of value, because I don't really understand your use case.  Can you explain more about what it is you are looking for in terms of searching and how the CSV could be used?&lt;/P&gt;

&lt;P&gt;What I have above looks like it would end up performing basic lookup capabilities, which would be better accomplished by using the &lt;CODE&gt;lookup&lt;/CODE&gt; command with the csv in question.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 17:56:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Values-from-inputlookup-file-not-captured-in-syslog/m-p/343147#M164379</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2017-12-12T17:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Values from inputlookup file not captured in syslog</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Values-from-inputlookup-file-not-captured-in-syslog/m-p/343148#M164380</link>
      <description>&lt;P&gt;Actually i have few URLs in inputlookup file.i want each URL from lookup file to be searched in syslog.And whichever URLs are not found in syslog,should be showed in a table..&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 01:10:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Values-from-inputlookup-file-not-captured-in-syslog/m-p/343148#M164380</guid>
      <dc:creator>Maverick904</dc:creator>
      <dc:date>2017-12-13T01:10:57Z</dc:date>
    </item>
  </channel>
</rss>

