<?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 How to 'join' two data sets but neither left join or inner join are suitable? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-join-two-data-sets-but-neither-left-join-or-inner-join/m-p/485481#M135834</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;I've tried to answer this myself but no luck. I fear it might be so simple i'm overlooking it. I'm comfortable with left &amp;amp; inner join, however i'm trying to 'join' two data sets that share the same field names but completely different values.&lt;/P&gt;

&lt;P&gt;spreadsheet one -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;'Issue key' 'Aging' 'Status'
'DR-1004'         '3'             'In Analysis'
'DR-1007'         '2'              'New'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Spreadsheet two -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;'Issue key' 'Aging' 'Status'
'IT-85'       '6'             'New'
'IT-86'               '7'             'New'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And i'd like my results to be -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;'Issue key' 'Aging' 'Status'
'DR-1004'         '3'              'In Analysis'
'DR-1007'         '2'              'New'
'IT-85'       '6'             'New'
'IT-86'               '7'             'New'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which command can I use to add the results of spreadsheet two underneath the results of spreadsheet one, without using a matching field?&lt;/P&gt;

&lt;P&gt;Please note I am using .csv files rather than indexes or sourcetypes.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2019 11:20:28 GMT</pubDate>
    <dc:creator>lewisgrantevans</dc:creator>
    <dc:date>2019-09-24T11:20:28Z</dc:date>
    <item>
      <title>How to 'join' two data sets but neither left join or inner join are suitable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-join-two-data-sets-but-neither-left-join-or-inner-join/m-p/485481#M135834</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;I've tried to answer this myself but no luck. I fear it might be so simple i'm overlooking it. I'm comfortable with left &amp;amp; inner join, however i'm trying to 'join' two data sets that share the same field names but completely different values.&lt;/P&gt;

&lt;P&gt;spreadsheet one -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;'Issue key' 'Aging' 'Status'
'DR-1004'         '3'             'In Analysis'
'DR-1007'         '2'              'New'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Spreadsheet two -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;'Issue key' 'Aging' 'Status'
'IT-85'       '6'             'New'
'IT-86'               '7'             'New'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And i'd like my results to be -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;'Issue key' 'Aging' 'Status'
'DR-1004'         '3'              'In Analysis'
'DR-1007'         '2'              'New'
'IT-85'       '6'             'New'
'IT-86'               '7'             'New'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which command can I use to add the results of spreadsheet two underneath the results of spreadsheet one, without using a matching field?&lt;/P&gt;

&lt;P&gt;Please note I am using .csv files rather than indexes or sourcetypes.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 11:20:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-join-two-data-sets-but-neither-left-join-or-inner-join/m-p/485481#M135834</guid>
      <dc:creator>lewisgrantevans</dc:creator>
      <dc:date>2019-09-24T11:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to 'join' two data sets but neither left join or inner join are suitable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-join-two-data-sets-but-neither-left-join-or-inner-join/m-p/485482#M135835</link>
      <description>&lt;P&gt;Try this!&lt;/P&gt;

&lt;P&gt;(|inputcsv spreadsheet 1)|append [|(inputcsv spreadsheet 2)]&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 12:54:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-join-two-data-sets-but-neither-left-join-or-inner-join/m-p/485482#M135835</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2019-09-24T12:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to 'join' two data sets but neither left join or inner join are suitable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-join-two-data-sets-but-neither-left-join-or-inner-join/m-p/485483#M135836</link>
      <description>&lt;P&gt;Thanks, Append is what I was looking for, however the above didn't work. I tweaked it slightly and now i'm getting results.&lt;/P&gt;

&lt;P&gt;| append [inputlookup Todays-IT-Tickets.csv | search Status=New OR Status="In Analysis"]&lt;/P&gt;

&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 13:43:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-join-two-data-sets-but-neither-left-join-or-inner-join/m-p/485483#M135836</guid>
      <dc:creator>lewisgrantevans</dc:creator>
      <dc:date>2019-09-24T13:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to 'join' two data sets but neither left join or inner join are suitable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-join-two-data-sets-but-neither-left-join-or-inner-join/m-p/485484#M135837</link>
      <description>&lt;P&gt;Please don't forget to "Mark as Answer" if your question has been resolved.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 20:46:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-join-two-data-sets-but-neither-left-join-or-inner-join/m-p/485484#M135837</guid>
      <dc:creator>jacobpevans</dc:creator>
      <dc:date>2019-09-24T20:46:35Z</dc:date>
    </item>
  </channel>
</rss>

