<?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 The Join command doesn't combine results from different indexes in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/The-Join-command-doesn-t-combine-results-from-different-indexes/m-p/24242#M4405</link>
    <description>&lt;P&gt;The search string shown below returns valid results when run in Splunk 4.3.4 but it doesn't in Splunk 5.0.&lt;/P&gt;

&lt;P&gt;index=agent MTRn |fields MTRn S| join S [search svc="*"| fields svc, sessionId Site | rename sessionId AS S]|table MTRn S Site&lt;/P&gt;

&lt;P&gt;The result shows empty values for the "MTRn" column and the "S" and "site" columns show data from the subsearch. &lt;/P&gt;

&lt;P&gt;Cheers, &lt;/P&gt;</description>
    <pubDate>Thu, 07 Feb 2013 22:35:09 GMT</pubDate>
    <dc:creator>jamercadoh</dc:creator>
    <dc:date>2013-02-07T22:35:09Z</dc:date>
    <item>
      <title>The Join command doesn't combine results from different indexes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/The-Join-command-doesn-t-combine-results-from-different-indexes/m-p/24242#M4405</link>
      <description>&lt;P&gt;The search string shown below returns valid results when run in Splunk 4.3.4 but it doesn't in Splunk 5.0.&lt;/P&gt;

&lt;P&gt;index=agent MTRn |fields MTRn S| join S [search svc="*"| fields svc, sessionId Site | rename sessionId AS S]|table MTRn S Site&lt;/P&gt;

&lt;P&gt;The result shows empty values for the "MTRn" column and the "S" and "site" columns show data from the subsearch. &lt;/P&gt;

&lt;P&gt;Cheers, &lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2013 22:35:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/The-Join-command-doesn-t-combine-results-from-different-indexes/m-p/24242#M4405</guid>
      <dc:creator>jamercadoh</dc:creator>
      <dc:date>2013-02-07T22:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: The Join command doesn't combine results from different indexes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/The-Join-command-doesn-t-combine-results-from-different-indexes/m-p/24243#M4406</link>
      <description>&lt;P&gt;Your inner search is an entirely separate and unrelated search from the outer search, so it needs to also include the index to search:  ie:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=agent MTRn |fields MTRn S| join S [search index=agent svc="*"| fields svc, sessionId Site | rename sessionId AS S]|table MTRn S Site
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Feb 2013 00:00:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/The-Join-command-doesn-t-combine-results-from-different-indexes/m-p/24243#M4406</guid>
      <dc:creator>Ron_Naken</dc:creator>
      <dc:date>2013-02-08T00:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: The Join command doesn't combine results from different indexes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/The-Join-command-doesn-t-combine-results-from-different-indexes/m-p/24244#M4407</link>
      <description>&lt;P&gt;The sub-search searches data in the "main" index whereas the outer does it in the "agent" index. I tried to include the index=main clause to no avail. &lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2013 18:51:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/The-Join-command-doesn-t-combine-results-from-different-indexes/m-p/24244#M4407</guid>
      <dc:creator>jamercadoh</dc:creator>
      <dc:date>2013-02-08T18:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: The Join command doesn't combine results from different indexes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/The-Join-command-doesn-t-combine-results-from-different-indexes/m-p/24245#M4408</link>
      <description>&lt;P&gt;The sub-search searches data in the "main" index whereas the outer does it in the "agent" index. I tried to include the index=main clause to no avail.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2013 20:48:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/The-Join-command-doesn-t-combine-results-from-different-indexes/m-p/24245#M4408</guid>
      <dc:creator>jamercadoh</dc:creator>
      <dc:date>2013-02-08T20:48:24Z</dc:date>
    </item>
  </channel>
</rss>

