<?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: Use the output of one search as input to another search in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Use-the-output-of-one-search-as-input-to-another-search/m-p/391962#M6595</link>
    <description>&lt;P&gt;Thanks!&lt;BR /&gt;
But i wanted to perform 2nd and 3rd search based on the values of B that i get from 1st search&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jan 2019 12:57:53 GMT</pubDate>
    <dc:creator>Deepz2612</dc:creator>
    <dc:date>2019-01-04T12:57:53Z</dc:date>
    <item>
      <title>Use the output of one search as input to another search</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Use-the-output-of-one-search-as-input-to-another-search/m-p/391960#M6593</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I have a request where in &lt;BR /&gt;
1.I will have to perform a search to get  value A,B and C (where B is the values of the field that i created using regex)&lt;BR /&gt;
2.Based on the values of B -&amp;gt; I will have to perform another search in completely different index and get the values of E and F&lt;BR /&gt;
3.And also based on the values of B -&amp;gt; I will have to perform another search in completely different index and get the values of G and H&lt;BR /&gt;
4.Finally i should have table with A B C E F G H&lt;/P&gt;

&lt;P&gt;I tried using join concept but the common field between 1st and 2nd search is B and B is the field that i extracted using rex.&lt;BR /&gt;
I'm not because of that reason it is working or not,I'm getting ) results.&lt;/P&gt;

&lt;P&gt;Kindly help!&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 12:19:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Use-the-output-of-one-search-as-input-to-another-search/m-p/391960#M6593</guid>
      <dc:creator>Deepz2612</dc:creator>
      <dc:date>2019-01-04T12:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Use the output of one search as input to another search</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Use-the-output-of-one-search-as-input-to-another-search/m-p/391961#M6594</link>
      <description>&lt;P&gt;@Deepz2612 &lt;/P&gt;

&lt;P&gt;You can use &lt;CODE&gt;append&lt;/CODE&gt; and &lt;CODE&gt;stats&lt;/CODE&gt; for same. Please refer below sample search for same.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=a | fields A B C 
append [ search index=b | fields B E F ] 
append [ search index=c | fields B G H ]
| stats values(A) as A values(C) as C values(D) as D values(E) as E values(F) as F values(G) as G values(H) as H by B 
| table A B C D E F G H
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Jan 2019 12:28:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Use-the-output-of-one-search-as-input-to-another-search/m-p/391961#M6594</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-01-04T12:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Use the output of one search as input to another search</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Use-the-output-of-one-search-as-input-to-another-search/m-p/391962#M6595</link>
      <description>&lt;P&gt;Thanks!&lt;BR /&gt;
But i wanted to perform 2nd and 3rd search based on the values of B that i get from 1st search&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 12:57:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Use-the-output-of-one-search-as-input-to-another-search/m-p/391962#M6595</guid>
      <dc:creator>Deepz2612</dc:creator>
      <dc:date>2019-01-04T12:57:53Z</dc:date>
    </item>
  </channel>
</rss>

