<?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 to use the result from one function into another function in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-result-from-one-function-into-another-function/m-p/565290#M196947</link>
    <description>&lt;P&gt;Hello all, I need help with this :((&lt;BR /&gt;How to use derivatives of 1st function results into the 2nd function in splunk? Please see the example below:&lt;/P&gt;&lt;P&gt;1st function: for instance, from the first eval, i got the names of the top 100 sold fruits and their respective companies.&lt;/P&gt;&lt;P&gt;2nd function: From this top 100 fruits, I would like to then, search for the fruits import-export countries (ie the export country (origin) and imported (destination) country). Each of the fruits may have more than 1 set of export-import. How do I go about doing it? What's the syntax to get the top 100 fruits into the second function? Any guidance appreciated&lt;/P&gt;</description>
    <pubDate>Tue, 31 Aug 2021 08:18:27 GMT</pubDate>
    <dc:creator>splunkymage</dc:creator>
    <dc:date>2021-08-31T08:18:27Z</dc:date>
    <item>
      <title>How to use the result from one function into another function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-result-from-one-function-into-another-function/m-p/565290#M196947</link>
      <description>&lt;P&gt;Hello all, I need help with this :((&lt;BR /&gt;How to use derivatives of 1st function results into the 2nd function in splunk? Please see the example below:&lt;/P&gt;&lt;P&gt;1st function: for instance, from the first eval, i got the names of the top 100 sold fruits and their respective companies.&lt;/P&gt;&lt;P&gt;2nd function: From this top 100 fruits, I would like to then, search for the fruits import-export countries (ie the export country (origin) and imported (destination) country). Each of the fruits may have more than 1 set of export-import. How do I go about doing it? What's the syntax to get the top 100 fruits into the second function? Any guidance appreciated&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 08:18:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-result-from-one-function-into-another-function/m-p/565290#M196947</guid>
      <dc:creator>splunkymage</dc:creator>
      <dc:date>2021-08-31T08:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the result from one function into another function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-result-from-one-function-into-another-function/m-p/565292#M196949</link>
      <description>&lt;P&gt;You can use the results of one search to filter the results of another search&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;search 2 [search 1]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Search 1 would return the import/ export countries of the top 100 selling fruits, which are then used as part of the filter for search 2. In search 1 you can sort then truncate the results using head 100.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 08:33:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-result-from-one-function-into-another-function/m-p/565292#M196949</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-08-31T08:33:23Z</dc:date>
    </item>
  </channel>
</rss>

