<?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: Problem while joining in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Problem-while-joining/m-p/367077#M108279</link>
    <description>&lt;P&gt;since you are doing an inputlookup, you need a | character as the first part of that subsearch.  If I were you though since you are using a lookup table to join the data, why not just use he "lookup" command itself?  You could just do:&lt;BR /&gt;
    index="abc" source_type="xyz" | lookup abcdef  fieldX as fieldA &lt;/P&gt;</description>
    <pubDate>Mon, 08 May 2017 21:39:59 GMT</pubDate>
    <dc:creator>briancronrath</dc:creator>
    <dc:date>2017-05-08T21:39:59Z</dc:date>
    <item>
      <title>Problem while joining</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-while-joining/m-p/367075#M108277</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;

&lt;P&gt;Need your kind help.&lt;/P&gt;

&lt;P&gt;I have 50+ fields under index='abc'&lt;/P&gt;

&lt;P&gt;i want to join the same with a lookup which has 5 fields but name of field on the basis of what i am trying to join is different. &lt;/P&gt;

&lt;P&gt;I am trying following query&lt;/P&gt;

&lt;P&gt;index="abc" sorce_type="xyz" | join fieldA [ inputlookup abcdef | rename fieldX as fieldA]&lt;/P&gt;

&lt;P&gt;Please help me out.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;BR /&gt;
Nikks&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 10:34:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-while-joining/m-p/367075#M108277</guid>
      <dc:creator>nilaksh92</dc:creator>
      <dc:date>2017-05-08T10:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while joining</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-while-joining/m-p/367076#M108278</link>
      <description>&lt;P&gt;Looks fine to me, other than misspelling sourcetype.&lt;/P&gt;

&lt;P&gt;Try this and see what happens - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="abc" sourcetype="xyz" 
| join type=left fieldA [ inputlookup abcdef.csv | rename fieldX as fieldA ]
 | table fieldA ... some sample fields from main search... the fields from the lookup table... 
| fillnull value="((none))"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then the records that have all the lookup values set to ((none)) are the ones where no matching value for fieldA was found in fieldX. &lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 16:33:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-while-joining/m-p/367076#M108278</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-05-08T16:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while joining</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-while-joining/m-p/367077#M108279</link>
      <description>&lt;P&gt;since you are doing an inputlookup, you need a | character as the first part of that subsearch.  If I were you though since you are using a lookup table to join the data, why not just use he "lookup" command itself?  You could just do:&lt;BR /&gt;
    index="abc" source_type="xyz" | lookup abcdef  fieldX as fieldA &lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 21:39:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-while-joining/m-p/367077#M108279</guid>
      <dc:creator>briancronrath</dc:creator>
      <dc:date>2017-05-08T21:39:59Z</dc:date>
    </item>
  </channel>
</rss>

