<?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: Can we pass main search result value into subsearch as search command? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-we-pass-main-search-result-value-into-subsearch-as-search/m-p/625162#M217318</link>
    <description>&lt;P&gt;&lt;SPAN&gt;The question is not whether you can pass main search result value into subsearch, but what is it you are trying to perform. &amp;nbsp;There are many ways to implement anything in any general-purpose language such as SPL. &amp;nbsp;You already know the method proposed in the OP doesn't do what you wanted. &amp;nbsp;So, start by explaining your data, your logic, and your expected output. (This should be the general formula when posing a question.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Starting from data and logic is even more important because join command is often the least efficient way to achieve anything. &amp;nbsp;Most of the time, join can be avoided.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2022 06:59:12 GMT</pubDate>
    <dc:creator>yuanliu</dc:creator>
    <dc:date>2022-12-23T06:59:12Z</dc:date>
    <item>
      <title>Can we pass main search result value into subsearch as search command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-pass-main-search-result-value-into-subsearch-as-search/m-p/625069#M217288</link>
      <description>&lt;P&gt;mainsearch| stats count(_raw)&amp;nbsp; as Cou by hour&lt;BR /&gt;|join hour [ subsearch| head -$Cou$ ]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Above mentioned command is not working, as main search values can be used as values in subsearch but unable to use it under a command. Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 15:42:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-pass-main-search-result-value-into-subsearch-as-search/m-p/625069#M217288</guid>
      <dc:creator>avadhutha</dc:creator>
      <dc:date>2022-12-22T15:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can we pass main search result value into subsearch as search command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-pass-main-search-result-value-into-subsearch-as-search/m-p/625162#M217318</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The question is not whether you can pass main search result value into subsearch, but what is it you are trying to perform. &amp;nbsp;There are many ways to implement anything in any general-purpose language such as SPL. &amp;nbsp;You already know the method proposed in the OP doesn't do what you wanted. &amp;nbsp;So, start by explaining your data, your logic, and your expected output. (This should be the general formula when posing a question.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Starting from data and logic is even more important because join command is often the least efficient way to achieve anything. &amp;nbsp;Most of the time, join can be avoided.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 06:59:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-pass-main-search-result-value-into-subsearch-as-search/m-p/625162#M217318</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-12-23T06:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can we pass main search result value into subsearch as search command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-pass-main-search-result-value-into-subsearch-as-search/m-p/625168#M217322</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;&amp;nbsp; for feedback. I have created a new conversation based on your suggestions.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Search/how-to-get-90-of-max-execution-time/m-p/625167#M217321" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/how-to-get-90-of-max-execution-time/m-p/625167#M217321&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 08:14:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-pass-main-search-result-value-into-subsearch-as-search/m-p/625168#M217322</guid>
      <dc:creator>avadhutha</dc:creator>
      <dc:date>2022-12-23T08:14:41Z</dc:date>
    </item>
  </channel>
</rss>

