<?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 do you compare a field in a search table with a lookup table field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-a-field-in-a-search-table-with-a-lookup-table/m-p/457082#M166762</link>
    <description>&lt;P&gt;This worked  thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 01 Nov 2018 12:33:00 GMT</pubDate>
    <dc:creator>kdelvillar</dc:creator>
    <dc:date>2018-11-01T12:33:00Z</dc:date>
    <item>
      <title>How do you compare a field in a search table with a lookup table field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-a-field-in-a-search-table-with-a-lookup-table/m-p/457080#M166760</link>
      <description>&lt;P&gt;I have a search that produces a table that contains a field called "http_referer", and I want to compare this field against a field called "TargetURL" that's in my inputlookup redirect-url.csv result. If there's a match I would like it to display all the matches.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 11:36:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-a-field-in-a-search-table-with-a-lookup-table/m-p/457080#M166760</guid>
      <dc:creator>kdelvillar</dc:creator>
      <dc:date>2018-11-01T11:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare a field in a search table with a lookup table field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-a-field-in-a-search-table-with-a-lookup-table/m-p/457081#M166761</link>
      <description>&lt;P&gt;@kdelvillar&lt;/P&gt;

&lt;P&gt;Have you tried &lt;CODE&gt;lookup&lt;/CODE&gt; command?  I'm not able to understand all the matches with!!!??&lt;/P&gt;

&lt;P&gt;Can you please try below search?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR_TABLE_SEARCH | lookup redirect-url.csv TargetURL as http_referer OUTPUTNEW TargetURL as myTargetURL | where isnotnull(myTargetURL)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.0/SearchReference/Lookup"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.0/SearchReference/Lookup&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 11:44:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-a-field-in-a-search-table-with-a-lookup-table/m-p/457081#M166761</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2018-11-01T11:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare a field in a search table with a lookup table field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-a-field-in-a-search-table-with-a-lookup-table/m-p/457082#M166762</link>
      <description>&lt;P&gt;This worked  thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 12:33:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-a-field-in-a-search-table-with-a-lookup-table/m-p/457082#M166762</guid>
      <dc:creator>kdelvillar</dc:creator>
      <dc:date>2018-11-01T12:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare a field in a search table with a lookup table field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-a-field-in-a-search-table-with-a-lookup-table/m-p/457083#M166763</link>
      <description>&lt;P&gt;@kdelvillar&lt;/P&gt;

&lt;P&gt;Glad to help you.  Can you please accept the answer and upvote comment to help the community? &lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 12:38:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-a-field-in-a-search-table-with-a-lookup-table/m-p/457083#M166763</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2018-11-01T12:38:48Z</dc:date>
    </item>
  </channel>
</rss>

