<?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: Replacing join command to integrate data from two different sources with lookups in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Replacing-join-command-to-integrate-data-from-two-different/m-p/437060#M124494</link>
    <description>&lt;P&gt;Show us the search.  How can we help otherwise?&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2019 16:59:08 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2019-05-02T16:59:08Z</dc:date>
    <item>
      <title>Replacing join command to integrate data from two different sources with lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Replacing-join-command-to-integrate-data-from-two-different/m-p/437056#M124490</link>
      <description>&lt;P&gt;Hello people,&lt;/P&gt;

&lt;P&gt;I am new in Splunk. So far I have been using join commands to integrate data from two different sources in a common field. The problem with this is that the searches take too long. apparently through lookups this should work faster. Would anybody be so kind to explain me exactly how I should do this ? it would be a massive thankyou from me. &lt;/P&gt;

&lt;P&gt;Cheers &lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 10:14:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Replacing-join-command-to-integrate-data-from-two-different/m-p/437056#M124490</guid>
      <dc:creator>ej56ygur</dc:creator>
      <dc:date>2019-05-02T10:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing join command to integrate data from two different sources with lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Replacing-join-command-to-integrate-data-from-two-different/m-p/437057#M124491</link>
      <description>&lt;P&gt;If you have a common field in 2 different sources you may be able to crate an Alias for the fields.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/Knowledge/Addaliasestofields"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/Knowledge/Addaliasestofields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 13:04:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Replacing-join-command-to-integrate-data-from-two-different/m-p/437057#M124491</guid>
      <dc:creator>jodyfsu</dc:creator>
      <dc:date>2019-05-02T13:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing join command to integrate data from two different sources with lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Replacing-join-command-to-integrate-data-from-two-different/m-p/437058#M124492</link>
      <description>&lt;P&gt;Can you provide some examples of the different queries that you need to join?  Instead of doing things with join or lookups, you could use stats command on the field you were using to join.  Lookups are fast, but require maintenance and can take up large amounts of disk space on your search head if you have an extremely large data set you are working with.  Here's an extremely high level concept of using stats to combine data from different sources:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(search string 1) OR (string string 2)
| eval joiner=if(criteria unique to search string 1, field from search string 1 that you join on, field from search string 2 that you join on)
| stats values("Field from Search string 1") as "Field from Search string 1" values("Field from Search string 2") as "Field from Search string 2" by joiner
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 May 2019 13:12:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Replacing-join-command-to-integrate-data-from-two-different/m-p/437058#M124492</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2019-05-02T13:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing join command to integrate data from two different sources with lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Replacing-join-command-to-integrate-data-from-two-different/m-p/437059#M124493</link>
      <description>&lt;P&gt;First of all thank you so much for your answer Dustin. Tomorrow I will have the access to the code and will post it. than you so much &lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 13:15:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Replacing-join-command-to-integrate-data-from-two-different/m-p/437059#M124493</guid>
      <dc:creator>ej56ygur</dc:creator>
      <dc:date>2019-05-02T13:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing join command to integrate data from two different sources with lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Replacing-join-command-to-integrate-data-from-two-different/m-p/437060#M124494</link>
      <description>&lt;P&gt;Show us the search.  How can we help otherwise?&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 16:59:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Replacing-join-command-to-integrate-data-from-two-different/m-p/437060#M124494</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-05-02T16:59:08Z</dc:date>
    </item>
  </channel>
</rss>

