<?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 Join between 2 source type with a lot of data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Join-between-2-source-type-with-a-lot-of-data/m-p/212930#M187914</link>
    <description>&lt;P&gt;I everybody.&lt;/P&gt;

&lt;P&gt;I have a problem on splunk.&lt;/P&gt;

&lt;P&gt;I have a sourcetype with my orders and a sourcetype with my customers.&lt;/P&gt;

&lt;P&gt;I have a customer technical key in my customers table and in my orders table.&lt;/P&gt;

&lt;P&gt;It is possible to simulate left join ? I have a lot of customers (more than 10 millions...) ... so it is not possible to use the join command.&lt;/P&gt;

&lt;P&gt;Thanks in advance for your answers.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2015 11:29:19 GMT</pubDate>
    <dc:creator>jbechchar</dc:creator>
    <dc:date>2015-11-04T11:29:19Z</dc:date>
    <item>
      <title>Join between 2 source type with a lot of data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Join-between-2-source-type-with-a-lot-of-data/m-p/212930#M187914</link>
      <description>&lt;P&gt;I everybody.&lt;/P&gt;

&lt;P&gt;I have a problem on splunk.&lt;/P&gt;

&lt;P&gt;I have a sourcetype with my orders and a sourcetype with my customers.&lt;/P&gt;

&lt;P&gt;I have a customer technical key in my customers table and in my orders table.&lt;/P&gt;

&lt;P&gt;It is possible to simulate left join ? I have a lot of customers (more than 10 millions...) ... so it is not possible to use the join command.&lt;/P&gt;

&lt;P&gt;Thanks in advance for your answers.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 11:29:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Join-between-2-source-type-with-a-lot-of-data/m-p/212930#M187914</guid>
      <dc:creator>jbechchar</dc:creator>
      <dc:date>2015-11-04T11:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Join between 2 source type with a lot of data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Join-between-2-source-type-with-a-lot-of-data/m-p/212931#M187915</link>
      <description>&lt;P&gt;I would look at populating a lookup or kvstore with your customers and from that you can either do an automatic lookup, or use the data manually.  Then you'll want to construct a search to regularly keep the lookup up-to-date.  You could also potentially use the KVStore for this as well.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Knowledge/Usefieldlookupstoaddinformationtoyourevents"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/Knowledge/Usefieldlookupstoaddinformationtoyourevents&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/SearchReference/Lookup"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/SearchReference/Lookup&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/SearchReference/Outputlookup"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/SearchReference/Outputlookup&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Knowledge/ConfigureKVstorelookups"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/Knowledge/ConfigureKVstorelookups&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/86564/updating-lookup-table-data-externally-auto-magically.html"&gt;https://answers.splunk.com/answers/86564/updating-lookup-table-data-externally-auto-magically.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/236903/how-to-update-a-lookup-table-using-a-scheduled-sea.html"&gt;https://answers.splunk.com/answers/236903/how-to-update-a-lookup-table-using-a-scheduled-sea.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 19:37:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Join-between-2-source-type-with-a-lot-of-data/m-p/212931#M187915</guid>
      <dc:creator>ltrand</dc:creator>
      <dc:date>2015-11-04T19:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Join between 2 source type with a lot of data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Join-between-2-source-type-with-a-lot-of-data/m-p/212932#M187916</link>
      <description>&lt;P&gt;KV store is a good approach, but if you cannot do it there is always &lt;CODE&gt;stats&lt;/CODE&gt;. &lt;BR /&gt;
If your orders and costumers source types have a common field like &lt;CODE&gt;id&lt;/CODE&gt; you can to something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=orders OR sourcetype=costumers | stats values(orders) AS orders values(costumers) AS costumers by id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is un-test since I don't have your data available, but you can read more about this topic here: &lt;A href="https://answers.splunk.com/answers/129424/how-to-compare-fields-over-multiple-sourcetypes-without-join-append-or-use-of-subsearches.html"&gt;https://answers.splunk.com/answers/129424/how-to-compare-fields-over-multiple-sourcetypes-without-join-append-or-use-of-subsearches.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 20:03:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Join-between-2-source-type-with-a-lot-of-data/m-p/212932#M187916</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-11-04T20:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Join between 2 source type with a lot of data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Join-between-2-source-type-with-a-lot-of-data/m-p/212933#M187917</link>
      <description>&lt;P&gt;I concur with creating a lookup table from your customer data using a regularly scheduled search to keep the table current. Then configure the table for automatic lookup and your customer info will be added to each order event as it is processed.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 20:05:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Join-between-2-source-type-with-a-lot-of-data/m-p/212933#M187917</guid>
      <dc:creator>curryRick</dc:creator>
      <dc:date>2015-11-04T20:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Join between 2 source type with a lot of data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Join-between-2-source-type-with-a-lot-of-data/m-p/212934#M187918</link>
      <description>&lt;P&gt;Thanks all for your answers.&lt;/P&gt;

&lt;P&gt;It is possible to put a value in the _key field ? for Example my technical key...&lt;/P&gt;

&lt;P&gt;I cannot see an exemple anywhere.&lt;/P&gt;

&lt;P&gt;Thanks in advance. &lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 11:50:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Join-between-2-source-type-with-a-lot-of-data/m-p/212934#M187918</guid>
      <dc:creator>jbechchar</dc:creator>
      <dc:date>2015-11-06T11:50:36Z</dc:date>
    </item>
  </channel>
</rss>

