<?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: How to replace a subsearch  ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-replace-a-subsearch/m-p/34198#M7350</link>
    <description>&lt;P&gt;Hi, thanks for the quick answer, &lt;/P&gt;

&lt;P&gt;I cannot perform this search because the event which include name=install_X_success do not include a type. Only a second event called name=email_sent include different types with one of them is type=ask_to_download.&lt;/P&gt;

&lt;P&gt;Well, my real purpose is to sort by the date of email sent, so the whole search is this one and the subsearch seemed to me a good choice -&amp;gt;&lt;/P&gt;

&lt;P&gt;type=ask_to_download_ad AND [search name=install_X_success AND user_id | table user_id ] | bucket _time span=1d | stats count by _time&lt;/P&gt;

&lt;P&gt;with its limit.....&lt;/P&gt;

&lt;P&gt;If you have a second answer it could resolve a week issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; !&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 10:13:35 GMT</pubDate>
    <dc:creator>xarquin</dc:creator>
    <dc:date>2020-09-28T10:13:35Z</dc:date>
    <item>
      <title>How to replace a subsearch  ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-replace-a-subsearch/m-p/34196#M7348</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
I am trying to count the number of users who receive a mail and do a particular action later sort by the date of the email sent. It is more precisely to mesure the impact of an ad-campaign. &lt;/P&gt;

&lt;P&gt;I am currently using a subsearch which give me good results : &lt;/P&gt;

&lt;P&gt;name=install_X_success AND [search type=ask_to_install_ad | table user_id] &lt;/P&gt;

&lt;P&gt;the subsearch gives me all user_id who received  emails, and I look for those who match with the event called install_X_success.&lt;BR /&gt;
This give me good results for a short period of two days but I want to extend it to period of several months...&lt;BR /&gt;
The limite is double : the limite of the subsearch in number and amount of time it takes..&lt;BR /&gt;
And I cannot sort my result by the date of the sent mail.&lt;/P&gt;

&lt;P&gt;How can I do to deal with this request ? &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:13:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-replace-a-subsearch/m-p/34196#M7348</guid>
      <dc:creator>xarquin</dc:creator>
      <dc:date>2020-09-28T10:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace a subsearch  ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-replace-a-subsearch/m-p/34197#M7349</link>
      <description>&lt;P&gt;why subsearch at all?&lt;/P&gt;

&lt;P&gt;Why not just do a search as such;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;name=install_X_success type=ask_to_install_ad | table user_id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;the AND is implicit in both being defined in the search string.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2011 21:27:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-replace-a-subsearch/m-p/34197#M7349</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2011-12-13T21:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace a subsearch  ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-replace-a-subsearch/m-p/34198#M7350</link>
      <description>&lt;P&gt;Hi, thanks for the quick answer, &lt;/P&gt;

&lt;P&gt;I cannot perform this search because the event which include name=install_X_success do not include a type. Only a second event called name=email_sent include different types with one of them is type=ask_to_download.&lt;/P&gt;

&lt;P&gt;Well, my real purpose is to sort by the date of email sent, so the whole search is this one and the subsearch seemed to me a good choice -&amp;gt;&lt;/P&gt;

&lt;P&gt;type=ask_to_download_ad AND [search name=install_X_success AND user_id | table user_id ] | bucket _time span=1d | stats count by _time&lt;/P&gt;

&lt;P&gt;with its limit.....&lt;/P&gt;

&lt;P&gt;If you have a second answer it could resolve a week issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; !&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:13:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-replace-a-subsearch/m-p/34198#M7350</guid>
      <dc:creator>xarquin</dc:creator>
      <dc:date>2020-09-28T10:13:35Z</dc:date>
    </item>
  </channel>
</rss>

