<?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 Inner join on two hosts? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Inner-join-on-two-hosts/m-p/203809#M89</link>
    <description>&lt;P&gt;How do I make an "inner join" in Splunk for this SQL query?&lt;/P&gt;

&lt;P&gt;SELECT column_name(s)&lt;BR /&gt;
FROM table1&lt;BR /&gt;
INNER JOIN table2&lt;BR /&gt;
ON table1.id=table2.user_id;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 08:14:49 GMT</pubDate>
    <dc:creator>mobicotic</dc:creator>
    <dc:date>2020-09-29T08:14:49Z</dc:date>
    <item>
      <title>Inner join on two hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Inner-join-on-two-hosts/m-p/203809#M89</link>
      <description>&lt;P&gt;How do I make an "inner join" in Splunk for this SQL query?&lt;/P&gt;

&lt;P&gt;SELECT column_name(s)&lt;BR /&gt;
FROM table1&lt;BR /&gt;
INNER JOIN table2&lt;BR /&gt;
ON table1.id=table2.user_id;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:14:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Inner-join-on-two-hosts/m-p/203809#M89</guid>
      <dc:creator>mobicotic</dc:creator>
      <dc:date>2020-09-29T08:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join on two hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Inner-join-on-two-hosts/m-p/203810#M90</link>
      <description>&lt;P&gt;It goes something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=table1 | JOIN type=inner id [ SEARCH source=table2 | rename user_id AS id ] 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You might find this document helpful: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/SQLtoSplunk"&gt;Splunk for SQL users&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 17:57:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Inner-join-on-two-hosts/m-p/203810#M90</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-12-31T17:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join on two hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Inner-join-on-two-hosts/m-p/203811#M91</link>
      <description>&lt;P&gt;I'm new using Splunk.&lt;/P&gt;

&lt;P&gt;Is "source" the same as a "host"?&lt;BR /&gt;
Or how can I create tables?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2016 13:09:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Inner-join-on-two-hosts/m-p/203811#M91</guid>
      <dc:creator>mobicotic</dc:creator>
      <dc:date>2016-01-04T13:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join on two hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Inner-join-on-two-hosts/m-p/203812#M92</link>
      <description>&lt;P&gt;Source and host are not the same.  Source is the file containing the event (data) whereas host is the computer containing the source.  You might want to check out the Splunk Tutorial (&lt;A href="http://www.splunk.com/view/SP-CAAAH9U"&gt;http://www.splunk.com/view/SP-CAAAH9U&lt;/A&gt;).&lt;BR /&gt;
Splunk doesn't have "tables".  It is not a database.  Data is stored in indexes.  Each entry in an index is an 'event'.  Events typically contain a number of 'fields'.  What constitutes a field depends on the type of event.&lt;BR /&gt;
To create an index, go to Settings-&amp;gt;Indexes and click the New Index button (you must be an admin to do this).  Once you've created an index, you can then add data to it by selecting Settings-&amp;gt;Add Data.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2016 13:34:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Inner-join-on-two-hosts/m-p/203812#M92</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-01-04T13:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join on two hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Inner-join-on-two-hosts/m-p/203813#M93</link>
      <description>&lt;P&gt;Thank you. It worked. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2016 13:47:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Inner-join-on-two-hosts/m-p/203813#M93</guid>
      <dc:creator>mobicotic</dc:creator>
      <dc:date>2016-01-04T13:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join on two hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Inner-join-on-two-hosts/m-p/203814#M94</link>
      <description>&lt;P&gt;Please accept the answer.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2016 13:49:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Inner-join-on-two-hosts/m-p/203814#M94</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-01-04T13:49:41Z</dc:date>
    </item>
  </channel>
</rss>

