<?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: splunk lookup like match in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup-like-match/m-p/219947#M64643</link>
    <description>&lt;P&gt;If you're looking for wildcarded lookup, then have a look at great answers here&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/52580/can-we-use-wildcard-characters-in-a-lookup-table.html"&gt;https://answers.splunk.com/answers/52580/can-we-use-wildcard-characters-in-a-lookup-table.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/214548/how-to-use-lookup-with-wildcards-to-filter-events.html"&gt;https://answers.splunk.com/answers/214548/how-to-use-lookup-with-wildcards-to-filter-events.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/28566/how-to-use-wildcard-in-lookup-based-searches-and-alerts.html"&gt;https://answers.splunk.com/answers/28566/how-to-use-wildcard-in-lookup-based-searches-and-alerts.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2017 15:50:35 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-01-05T15:50:35Z</dc:date>
    <item>
      <title>splunk lookup like match</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup-like-match/m-p/219946#M64642</link>
      <description>&lt;P&gt;i have a lookup csv with say 2 columns &lt;/P&gt;

&lt;P&gt;colA        colB&lt;BR /&gt;
sb12121     800&lt;BR /&gt;
sb879898      1000&lt;BR /&gt;
ax61565      680&lt;BR /&gt;
ax7688        909&lt;/P&gt;

&lt;P&gt;I need to perform a lookup search that matches &lt;EM&gt;&lt;EM&gt;like&lt;/EM&gt;&lt;/EM&gt; colA which may result in &lt;/P&gt;

&lt;P&gt;sb12121 800&lt;BR /&gt;
sb879898 1000&lt;/P&gt;

&lt;P&gt;if one of the columns in the logs start with sb (note that it may not be an abs match)&lt;/P&gt;

&lt;P&gt;I can write a query that absolutely matches with a field in column but I am not sure how to perform a like match. I read something about transforms.conf but not sure where and how to use it. all im trying to do is perform a simple search command, that can do this lookupfor me. do i really need the tranforms.conf file for this ? cant we not do a wildcard search directly in the query ?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 15:25:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup-like-match/m-p/219946#M64642</guid>
      <dc:creator>VARWIZ</dc:creator>
      <dc:date>2017-01-05T15:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: splunk lookup like match</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup-like-match/m-p/219947#M64643</link>
      <description>&lt;P&gt;If you're looking for wildcarded lookup, then have a look at great answers here&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/52580/can-we-use-wildcard-characters-in-a-lookup-table.html"&gt;https://answers.splunk.com/answers/52580/can-we-use-wildcard-characters-in-a-lookup-table.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/214548/how-to-use-lookup-with-wildcards-to-filter-events.html"&gt;https://answers.splunk.com/answers/214548/how-to-use-lookup-with-wildcards-to-filter-events.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/28566/how-to-use-wildcard-in-lookup-based-searches-and-alerts.html"&gt;https://answers.splunk.com/answers/28566/how-to-use-wildcard-in-lookup-based-searches-and-alerts.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 15:50:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup-like-match/m-p/219947#M64643</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-05T15:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: splunk lookup like match</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup-like-match/m-p/219948#M64644</link>
      <description>&lt;P&gt;test.csv&lt;BR /&gt;
item      item_name          item_type&lt;BR /&gt;
1            &lt;EM&gt;google&lt;/EM&gt;               url&lt;BR /&gt;
1            &lt;EM&gt;facebook&lt;/EM&gt;               url&lt;BR /&gt;
1            &lt;EM&gt;intel&lt;/EM&gt;               url&lt;BR /&gt;
1            &lt;EM&gt;apple&lt;/EM&gt;               url&lt;BR /&gt;
1            &lt;EM&gt;espn&lt;/EM&gt;               url&lt;/P&gt;

&lt;P&gt;index=proxylog| lookup test.csv item_name AS uri OUTPUT item_type | search item_type=*&lt;/P&gt;

&lt;P&gt;this is not giving me any matches even though there are multiple &lt;EM&gt;google&lt;/EM&gt;/&lt;EM&gt;facebook&lt;/EM&gt;/&lt;EM&gt;intel&lt;/EM&gt; matching uris in splunk events..&lt;/P&gt;

&lt;P&gt;any idea why ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:18:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup-like-match/m-p/219948#M64644</guid>
      <dc:creator>VARWIZ</dc:creator>
      <dc:date>2020-09-29T12:18:43Z</dc:date>
    </item>
  </channel>
</rss>

