<?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 create automatic wildcard lookups against more than one field in a CSV file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-automatic-wildcard-lookups-against-more-than-one/m-p/163205#M33088</link>
    <description>&lt;P&gt;Can also be done in the same lookup definition as..&lt;BR /&gt;
example:&lt;BR /&gt;
[MandiantAPT]&lt;BR /&gt;
 filename = mandiant-apt.csv&lt;BR /&gt;
 case_sensitive_match=false&lt;BR /&gt;
 match_type = WILDCARD(domain),WILDCARD(filename)&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 16:20:04 GMT</pubDate>
    <dc:creator>gunzola</dc:creator>
    <dc:date>2020-09-29T16:20:04Z</dc:date>
    <item>
      <title>How to create automatic wildcard lookups against more than one field in a CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-automatic-wildcard-lookups-against-more-than-one/m-p/163202#M33085</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have defined a Automatic Lookup to a CSV File with several values per line.&lt;BR /&gt;
I would create automatic wildcard lookups against more than one field in the csv. Is this possible?&lt;/P&gt;

&lt;P&gt;I have tried the following but not successful:&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[squid]
LOOKUP-MandiantAPT = MandiantAPT domain AS uri_host OUTPUTNEW
LOOKUP-MandiantAPT = MandiantAPT filename AS uri_path OUTPUTNEW
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[MandiantAPT]
filename = mandiant-apt.csv
case_sensitive_match=false
match_type = WILDCARD(domain)
match_type = WILDCARD(filename)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;mandiant-apt.csv&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;domain,description,isbad,md5,filename,filesize,stringlist
"*advanbusiness.com*","Mandiant APT",true,"*001dd76872d80801692ff942308c64e6*","*121.exe*","*10233*","*!@#%$^#@!*"
"*aoldaily.com*","Mandiant APT",true,"*002325a0a67fded0381b5648d7fe9b8e*","*162.exe*","*10240*","*@***@*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Has anyone an idea? Thank you in advance for your help.&lt;BR /&gt;
Regards,&lt;BR /&gt;
Patrik&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 11:09:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-automatic-wildcard-lookups-against-more-than-one/m-p/163202#M33085</guid>
      <dc:creator>psidler</dc:creator>
      <dc:date>2014-07-30T11:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create automatic wildcard lookups against more than one field in a CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-automatic-wildcard-lookups-against-more-than-one/m-p/163203#M33086</link>
      <description>&lt;P&gt;You should just set up two different lookups (pointing to the same file)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[squid]
LOOKUP-MandiantAPTd = MandiantAPTd domain AS uri_host OUTPUTNEW
LOOKUP-MandiantAPTf = MandiantAPTf filename AS uri_path OUTPUTNEW

[MandiantAPTd]
filename = mandiant-apt.csv
case_sensitive_match=false
match_type = WILDCARD(domain)

[MandiantAPTf]
filename = mandiant-apt.csv
case_sensitive_match=false
match_type = WILDCARD(filename)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Jul 2014 04:11:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-automatic-wildcard-lookups-against-more-than-one/m-p/163203#M33086</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2014-07-31T04:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create automatic wildcard lookups against more than one field in a CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-automatic-wildcard-lookups-against-more-than-one/m-p/163204#M33087</link>
      <description>&lt;P&gt;Works perfect!&lt;BR /&gt;
Thank you for your help. Patrik&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2014 05:53:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-automatic-wildcard-lookups-against-more-than-one/m-p/163204#M33087</guid>
      <dc:creator>psidler</dc:creator>
      <dc:date>2014-07-31T05:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to create automatic wildcard lookups against more than one field in a CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-automatic-wildcard-lookups-against-more-than-one/m-p/163205#M33088</link>
      <description>&lt;P&gt;Can also be done in the same lookup definition as..&lt;BR /&gt;
example:&lt;BR /&gt;
[MandiantAPT]&lt;BR /&gt;
 filename = mandiant-apt.csv&lt;BR /&gt;
 case_sensitive_match=false&lt;BR /&gt;
 match_type = WILDCARD(domain),WILDCARD(filename)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:20:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-automatic-wildcard-lookups-against-more-than-one/m-p/163205#M33088</guid>
      <dc:creator>gunzola</dc:creator>
      <dc:date>2020-09-29T16:20:04Z</dc:date>
    </item>
  </channel>
</rss>

