<?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 one search trigger another? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250124#M74686</link>
    <description>&lt;P&gt;I'm still a fan of the post processing. If the panels are all similar base searches then a post processing is the strongest approach because it has the least dependencies and only moderate complexity.&lt;/P&gt;

&lt;P&gt;Alternatively, an accelerated data model could help them render any such searches with speed.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2017 13:44:27 GMT</pubDate>
    <dc:creator>sloshburch</dc:creator>
    <dc:date>2017-01-25T13:44:27Z</dc:date>
    <item>
      <title>Can one search trigger another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250116#M74678</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Is there a way for one search, once it's complete, to trigger another search?  &lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:53:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250116#M74678</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2017-01-23T15:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can one search trigger another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250117#M74679</link>
      <description>&lt;P&gt;Hi a212830,&lt;BR /&gt;
I don't think that it's possible, You could create and schedule an alert (first search) that as action runs a script that contain the second search, but I don't know if this is what you need!&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 16:05:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250117#M74679</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-01-23T16:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can one search trigger another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250118#M74680</link>
      <description>&lt;P&gt;You can use &lt;CODE&gt;depends&lt;/CODE&gt; in dashboards so that when one panel completes, the dependent panel will start. The closest that you can do for an ad-hoc search is to pull a saved search into another search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;You First Search | appendpipe [ | savedsearch Your:Second:Search ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can run splunk searches from the CLI so you could setup a cron like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;00 12 * * * * /opt/splunk/bin/splunk Your First Search Details Here &amp;amp;&amp;amp; /opt/splunk/bin/splunk Your Second Search Details Here
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You could also make the first search an alert with an &lt;CODE&gt;always&lt;/CODE&gt; trigger action to call a custom script that does the second part (like the CLI/cron).&lt;/P&gt;

&lt;P&gt;I have asked for this feature for saved searches but do not expect any action.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 16:07:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250118#M74680</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-01-23T16:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can one search trigger another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250119#M74681</link>
      <description>&lt;P&gt;Could you add more details on what each of the search does and what creates the dependency on the order?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 16:08:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250119#M74681</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-23T16:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can one search trigger another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250120#M74682</link>
      <description>&lt;P&gt;This is too wide and too vague of a question. One potential solution: if you are ready to work with JavaScript, you should be able to achieve this, watching for &lt;CODE&gt;search:done&lt;/CODE&gt; event of a search.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 16:09:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250120#M74682</guid>
      <dc:creator>arkadyz1</dc:creator>
      <dc:date>2017-01-23T16:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can one search trigger another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250121#M74683</link>
      <description>&lt;P&gt;I would agree that using &lt;CODE&gt;options&lt;/CODE&gt; in your dashboard is the best approach to have a second search triggered by the first&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 16:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250121#M74683</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-01-23T16:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can one search trigger another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250122#M74684</link>
      <description>&lt;P&gt;I have a customer who has a dashboard with lots of panels - 10/12.   I'd rather not have that many searches kick off at once, and according to the customer, these panels aren't used enough to justify him scheduling the search (plus, he''d prefer it to be current).  I thought a good alternative would be to have some of these searches kick off other searches, if possible.   I've also explained the concept of post-processing to the customer, and he is looking into that possibility. &lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 14:09:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250122#M74684</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2017-01-24T14:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can one search trigger another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250123#M74685</link>
      <description>&lt;P&gt;Look at using a base search in your dashboard and if that won't work, you can stage the searches in the panels with &lt;CODE&gt;depends&lt;/CODE&gt; as I described in my answer.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 15:15:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250123#M74685</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-01-24T15:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can one search trigger another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250124#M74686</link>
      <description>&lt;P&gt;I'm still a fan of the post processing. If the panels are all similar base searches then a post processing is the strongest approach because it has the least dependencies and only moderate complexity.&lt;/P&gt;

&lt;P&gt;Alternatively, an accelerated data model could help them render any such searches with speed.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 13:44:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-one-search-trigger-another/m-p/250124#M74686</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2017-01-25T13:44:27Z</dc:date>
    </item>
  </channel>
</rss>

