<?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 using match_type wildcard in lookup not working in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/using-match-type-wildcard-in-lookup-not-working/m-p/463232#M195684</link>
    <description>&lt;P&gt;Please any help will be appreciated. &lt;BR /&gt;
We have a lookup test_pci_asset.csv with a field nt_host&lt;BR /&gt;
values of nt_host are host1 host2&lt;/P&gt;

&lt;P&gt;Raw log in splunk host fields are host1.abc.com&lt;/P&gt;

&lt;P&gt;We are trying to use automatic lookup to match the host field so when we run a query it can pull back host1.abc.com as host.&lt;BR /&gt;
We tried the following with WILDCARD(nt_host) but no luck. Props and transforms below&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[default]&lt;BR /&gt;
LOOKUP-test_pci_asset.csv = test_pci_asset nt_host AS host OUTPUTNEW bunit category city ip owner&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[test_pci_asset]&lt;BR /&gt;
batch_index_query = 0&lt;BR /&gt;
case_sensitive_match = 0&lt;BR /&gt;
filename = test_pci_asset.csv&lt;BR /&gt;
match_type = WILDCARD(nt_host)&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 04:03:40 GMT</pubDate>
    <dc:creator>btawiah</dc:creator>
    <dc:date>2020-09-30T04:03:40Z</dc:date>
    <item>
      <title>using match_type wildcard in lookup not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-match-type-wildcard-in-lookup-not-working/m-p/463232#M195684</link>
      <description>&lt;P&gt;Please any help will be appreciated. &lt;BR /&gt;
We have a lookup test_pci_asset.csv with a field nt_host&lt;BR /&gt;
values of nt_host are host1 host2&lt;/P&gt;

&lt;P&gt;Raw log in splunk host fields are host1.abc.com&lt;/P&gt;

&lt;P&gt;We are trying to use automatic lookup to match the host field so when we run a query it can pull back host1.abc.com as host.&lt;BR /&gt;
We tried the following with WILDCARD(nt_host) but no luck. Props and transforms below&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[default]&lt;BR /&gt;
LOOKUP-test_pci_asset.csv = test_pci_asset nt_host AS host OUTPUTNEW bunit category city ip owner&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[test_pci_asset]&lt;BR /&gt;
batch_index_query = 0&lt;BR /&gt;
case_sensitive_match = 0&lt;BR /&gt;
filename = test_pci_asset.csv&lt;BR /&gt;
match_type = WILDCARD(nt_host)&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:03:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-match-type-wildcard-in-lookup-not-working/m-p/463232#M195684</guid>
      <dc:creator>btawiah</dc:creator>
      <dc:date>2020-09-30T04:03:40Z</dc:date>
    </item>
  </channel>
</rss>

