<?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 partially join two lookups in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-partially-join-two-lookups/m-p/590264#M205501</link>
    <description>&lt;P&gt;Best way would be to setup a wildcard match lookup definition as described in this post (you'll have to modify lookup content which contains partial value i.e. Lookup1 to include wildcard).&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Wildcards-in-lookup-file/m-p/292586" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/Wildcards-in-lookup-file/m-p/292586&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 16:32:57 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2022-03-22T16:32:57Z</dc:date>
    <item>
      <title>How to partially join two lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-partially-join-two-lookups/m-p/590072#M205439</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Looking for a way to partially join 2 inputlookups.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Lookup 1: username, name&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;jsmith, John&lt;BR /&gt;jdoe, Joe&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Lookup 2:username,status&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;jsmith-sa, enabled&lt;/P&gt;
&lt;P&gt;I would like to return a match on jsmith to jsmith-sa but have not been able to figure out how to partially join.&amp;nbsp; ie search for jsmith* against lookup2 not for exact matches.&amp;nbsp; The 2nd lookup may have the entire keyword or keyword-something&amp;nbsp; Search returns:&lt;/P&gt;
&lt;P&gt;jsmith,jsmith-sa,enabled&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 04:19:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-partially-join-two-lookups/m-p/590072#M205439</guid>
      <dc:creator>olegr</dc:creator>
      <dc:date>2022-03-23T04:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to partially join two lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-partially-join-two-lookups/m-p/590264#M205501</link>
      <description>&lt;P&gt;Best way would be to setup a wildcard match lookup definition as described in this post (you'll have to modify lookup content which contains partial value i.e. Lookup1 to include wildcard).&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Wildcards-in-lookup-file/m-p/292586" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/Wildcards-in-lookup-file/m-p/292586&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 16:32:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-partially-join-two-lookups/m-p/590264#M205501</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-03-22T16:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to partially join two lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-partially-join-two-lookups/m-p/590287#M205515</link>
      <description>&lt;P&gt;That did not work for me, but I ended up figuring it out using the following:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;| inputlookup lookup1.csv
| rex field=User "^(?&amp;lt;UserShort&amp;gt;.+?)\-suffix"
| eval identity = if(isnull(UserShort), User, UserShort)
| join identity [inputlookup lookup2]
...&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 22 Mar 2022 18:34:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-partially-join-two-lookups/m-p/590287#M205515</guid>
      <dc:creator>olegr</dc:creator>
      <dc:date>2022-03-22T18:34:55Z</dc:date>
    </item>
  </channel>
</rss>

