<?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 matching field of a Sub-Search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Join-matching-field-of-a-Sub-Search/m-p/567019#M197595</link>
    <description>&lt;P&gt;Hello, I currently have a search over &lt;STRONG&gt;index_A&lt;/STRONG&gt; that runs a sub-search from &lt;STRONG&gt;index_B&lt;/STRONG&gt; looking to match a field (&lt;STRONG&gt;field_B&lt;/STRONG&gt;) from &lt;STRONG&gt;index_B&lt;/STRONG&gt; to any log within &lt;STRONG&gt;index_A&lt;/STRONG&gt;.&amp;nbsp; The search works great but the only frustration is not knowing what field value that &lt;STRONG&gt;field_B&lt;/STRONG&gt; held as all of the tabled results come from &lt;STRONG&gt;index_A&lt;/STRONG&gt;.&amp;nbsp; Is there a way I can join that matched &lt;STRONG&gt;field_B&lt;/STRONG&gt; to the results at the end of the search?&amp;nbsp; Here is my current search and thanks for anyone that has the time to help me with this!&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=index_A [search index=index_B | fields field_B | rename field_B as query] 
| table field_A field_A1 field_A2 field_A3&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Sep 2021 20:13:33 GMT</pubDate>
    <dc:creator>epw0rrell</dc:creator>
    <dc:date>2021-09-14T20:13:33Z</dc:date>
    <item>
      <title>Join matching field of a Sub-Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Join-matching-field-of-a-Sub-Search/m-p/567019#M197595</link>
      <description>&lt;P&gt;Hello, I currently have a search over &lt;STRONG&gt;index_A&lt;/STRONG&gt; that runs a sub-search from &lt;STRONG&gt;index_B&lt;/STRONG&gt; looking to match a field (&lt;STRONG&gt;field_B&lt;/STRONG&gt;) from &lt;STRONG&gt;index_B&lt;/STRONG&gt; to any log within &lt;STRONG&gt;index_A&lt;/STRONG&gt;.&amp;nbsp; The search works great but the only frustration is not knowing what field value that &lt;STRONG&gt;field_B&lt;/STRONG&gt; held as all of the tabled results come from &lt;STRONG&gt;index_A&lt;/STRONG&gt;.&amp;nbsp; Is there a way I can join that matched &lt;STRONG&gt;field_B&lt;/STRONG&gt; to the results at the end of the search?&amp;nbsp; Here is my current search and thanks for anyone that has the time to help me with this!&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=index_A [search index=index_B | fields field_B | rename field_B as query] 
| table field_A field_A1 field_A2 field_A3&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 20:13:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Join-matching-field-of-a-Sub-Search/m-p/567019#M197595</guid>
      <dc:creator>epw0rrell</dc:creator>
      <dc:date>2021-09-14T20:13:33Z</dc:date>
    </item>
  </channel>
</rss>

