<?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 How do I use the output from one serch as input to another? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-output-from-one-serch-as-input-to-another/m-p/30240#M177999</link>
    <description>&lt;P&gt;I have a log file that comes from an email gateway (Ironmail).  Each inbound message generates multple records within the log file.  I need to be able to search for content in one of these records to obtain the common field in another record to retrive the results I need.  Basically, using the output from one serch as input to another.&lt;BR /&gt;
How can I do this in one step within Splunk?&lt;/P&gt;</description>
    <pubDate>Sun, 11 Nov 2012 19:40:52 GMT</pubDate>
    <dc:creator>pgunn</dc:creator>
    <dc:date>2012-11-11T19:40:52Z</dc:date>
    <item>
      <title>How do I use the output from one serch as input to another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-output-from-one-serch-as-input-to-another/m-p/30240#M177999</link>
      <description>&lt;P&gt;I have a log file that comes from an email gateway (Ironmail).  Each inbound message generates multple records within the log file.  I need to be able to search for content in one of these records to obtain the common field in another record to retrive the results I need.  Basically, using the output from one serch as input to another.&lt;BR /&gt;
How can I do this in one step within Splunk?&lt;/P&gt;</description>
      <pubDate>Sun, 11 Nov 2012 19:40:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-output-from-one-serch-as-input-to-another/m-p/30240#M177999</guid>
      <dc:creator>pgunn</dc:creator>
      <dc:date>2012-11-11T19:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use the output from one serch as input to another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-output-from-one-serch-as-input-to-another/m-p/30241#M178000</link>
      <description>&lt;P&gt;What you are looking for is a sub search.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Tutorial/Useasubsearch" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Tutorial/Useasubsearch&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Your subsearch will obtain the fields from the ironmail log which is then used as fields that are sent to the outer search.&lt;/P&gt;

&lt;P&gt;example.  index=other_index [search index=ironmail  some_search_string | fields email_address ] &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:46:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-output-from-one-serch-as-input-to-another/m-p/30241#M178000</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2020-09-28T12:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use the output from one serch as input to another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-output-from-one-serch-as-input-to-another/m-p/30242#M178001</link>
      <description>&lt;P&gt;Or, you could be speaking of a transaction.  It depends on how you're trying to frame it, and the type of data you're dealing with.  &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Search/Identifyandgroupeventsintotransactions"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Search/Identifyandgroupeventsintotransactions&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://blogs.splunk.com/2012/11/05/book-excerpt-finding-specific-transactions/"&gt;http://blogs.splunk.com/2012/11/05/book-excerpt-finding-specific-transactions/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Nov 2012 23:44:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-output-from-one-serch-as-input-to-another/m-p/30242#M178001</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2012-11-11T23:44:11Z</dc:date>
    </item>
  </channel>
</rss>

