<?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 How to search csv for values in a lookup table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-csv-for-values-in-a-lookup-table/m-p/493531#M137649</link>
    <description>&lt;P&gt;I have a large csv with lots of columns and a lookup table below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;payload
*.exe
*.zip
*.7z
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do I search all fields for values in my lookup table? For example I want to look for values like "badfile.exe".&lt;/P&gt;</description>
    <pubDate>Mon, 07 Oct 2019 13:19:35 GMT</pubDate>
    <dc:creator>akke</dc:creator>
    <dc:date>2019-10-07T13:19:35Z</dc:date>
    <item>
      <title>How to search csv for values in a lookup table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-csv-for-values-in-a-lookup-table/m-p/493531#M137649</link>
      <description>&lt;P&gt;I have a large csv with lots of columns and a lookup table below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;payload
*.exe
*.zip
*.7z
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do I search all fields for values in my lookup table? For example I want to look for values like "badfile.exe".&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 13:19:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-csv-for-values-in-a-lookup-table/m-p/493531#M137649</guid>
      <dc:creator>akke</dc:creator>
      <dc:date>2019-10-07T13:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to search csv for values in a lookup table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-csv-for-values-in-a-lookup-table/m-p/493532#M137650</link>
      <description>&lt;P&gt;Read the lookup file in a subsearch and use the &lt;CODE&gt;format&lt;/CODE&gt; command to help build the main search.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=foo [|inputlookup payload.csv | fields payload | format]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;will expand into the search &lt;CODE&gt;index=foo (payload=*.exe OR payload=*.zip OR payload=*.7z)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 13:44:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-csv-for-values-in-a-lookup-table/m-p/493532#M137650</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-07T13:44:40Z</dc:date>
    </item>
  </channel>
</rss>

