<?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 select and join fields from 2 sources? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/212996#M62428</link>
    <description>&lt;P&gt;What have you tried so far? Look at this documentation which explains with examples&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/SearchReference/Join"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/SearchReference/Join&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Sep 2015 12:56:54 GMT</pubDate>
    <dc:creator>pradeepkumarg</dc:creator>
    <dc:date>2015-09-03T12:56:54Z</dc:date>
    <item>
      <title>How to select and join fields from 2 sources?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/212995#M62427</link>
      <description>&lt;P&gt;Hai everyone,&lt;/P&gt;

&lt;P&gt;I'm still a newbie to using Splunk. I want to ask about selecting and joining fields in 2 sources.&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;P&gt;source 1: S1&lt;BR /&gt;
fields: A1, B1, C1&lt;/P&gt;

&lt;P&gt;source 2: S2&lt;BR /&gt;
fields: A1, A2, B2&lt;/P&gt;

&lt;P&gt;I want to select A1, B1, C1, A2, B2 and join A1 in source 1 and source 2.&lt;/P&gt;

&lt;P&gt;How would I write this search in Splunk??&lt;/P&gt;

&lt;P&gt;please, help me&lt;BR /&gt;
thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 08:54:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/212995#M62427</guid>
      <dc:creator>irfan_10578</dc:creator>
      <dc:date>2015-09-03T08:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to select and join fields from 2 sources?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/212996#M62428</link>
      <description>&lt;P&gt;What have you tried so far? Look at this documentation which explains with examples&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/SearchReference/Join"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/SearchReference/Join&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 12:56:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/212996#M62428</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2015-09-03T12:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to select and join fields from 2 sources?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/212997#M62429</link>
      <description>&lt;P&gt;Often times &lt;A href="http://answers.splunk.com/answers/129424/how-to-compare-fields-over-multiple-sourcetypes-without-join-append-or-use-of-subsearches.html"&gt;join is not the droid you are looking for&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Without more context to around your problem, my initial guess would be something like: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(source=S1 OR source=S2) A1=* | fields A1 B1 C1 A2 B2 | stats values(*) as * by A1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But of course it depends on your data, and what you're wanting to do with it. I'd recommend reading the linked answer above.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 13:11:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/212997#M62429</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2015-09-03T13:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to select and join fields from 2 sources?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/212998#M62430</link>
      <description>&lt;P&gt;Thanks for the cross reference &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 21:32:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/212998#M62430</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-09-03T21:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to select and join fields from 2 sources?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/212999#M62431</link>
      <description>&lt;P&gt;oke thanks for help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2015 02:27:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/212999#M62431</guid>
      <dc:creator>irfan_10578</dc:creator>
      <dc:date>2015-09-04T02:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to select and join fields from 2 sources?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/213000#M62432</link>
      <description>&lt;P&gt;How it is possible to combine or join 2 sources (.csv format) with excactly the same extracted fields?&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;source1: column1,column2,column3&lt;/STRONG&gt;&lt;BR /&gt;
source2: column1,column2,column3&lt;/P&gt;

&lt;P&gt;In my example the first column from each source just shows milliseconds and is absolutly equal -&amp;gt; column1 (source1) = column1 (source2) &amp;lt;- these fields I want to overlay. The values from column2 and column3 differs. &lt;/P&gt;

&lt;P&gt;I want to have now a table in this format:&lt;BR /&gt;
column1 &lt;STRONG&gt;column2&lt;/STRONG&gt; column2 &lt;STRONG&gt;column3&lt;/STRONG&gt; column3&lt;/P&gt;

&lt;P&gt;Then I could compare the values from column2 with each other and the values from column3 with each other in a line chart while x-axis = column1. Also it would be nice, if there is a y axis for the values of column2 and another y axis for column3, combined in one chart&lt;/P&gt;

&lt;P&gt;Thanks in advance!!&lt;/P&gt;

&lt;P&gt;&lt;A href="http://up.picr.de/23281724qw.jpg"&gt;Example&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 14:51:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/213000#M62432</guid>
      <dc:creator>krown</dc:creator>
      <dc:date>2015-10-02T14:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to select and join fields from 2 sources?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/213001#M62433</link>
      <description>&lt;P&gt;I need to join two sources with different indexes, to get a report out.  Basically one source has names along with email and other information I need, and the other source has names, email, along with  Job field that I need.  How can I get the needed output from both sources in one output??  I'm thinking to use the email address to search for, since its found in both lists, but I'm not able to get it to work.&lt;BR /&gt;
What would a good command be?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 21:38:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-select-and-join-fields-from-2-sources/m-p/213001#M62433</guid>
      <dc:creator>nmahrouq</dc:creator>
      <dc:date>2019-06-12T21:38:15Z</dc:date>
    </item>
  </channel>
</rss>

