<?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 force a scripted input to be run at search time, in order to use remote data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-force-a-scripted-input-to-be-run-at-search-time-in-order/m-p/226889#M66981</link>
    <description>&lt;P&gt;I'm writing a health check dashboard and I want to invoke one of my normal input scripts, on demand, at the time the search is run and use the data collected in the dashboard chart. It seems that inputs are totally divorced from the input/ingestion processes so I can schedule the input any time I want, but I can't force the input to occur at search time - Is this correct? &lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2017 16:30:10 GMT</pubDate>
    <dc:creator>drodman29</dc:creator>
    <dc:date>2017-01-11T16:30:10Z</dc:date>
    <item>
      <title>How to force a scripted input to be run at search time, in order to use remote data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-force-a-scripted-input-to-be-run-at-search-time-in-order/m-p/226889#M66981</link>
      <description>&lt;P&gt;I'm writing a health check dashboard and I want to invoke one of my normal input scripts, on demand, at the time the search is run and use the data collected in the dashboard chart. It seems that inputs are totally divorced from the input/ingestion processes so I can schedule the input any time I want, but I can't force the input to occur at search time - Is this correct? &lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 16:30:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-force-a-scripted-input-to-be-run-at-search-time-in-order/m-p/226889#M66981</guid>
      <dc:creator>drodman29</dc:creator>
      <dc:date>2017-01-11T16:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to force a scripted input to be run at search time, in order to use remote data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-force-a-scripted-input-to-be-run-at-search-time-in-order/m-p/226890#M66982</link>
      <description>&lt;P&gt;You may be looking at custom search commands. You can create a generating command to retrieve data from remote system and use it in SPL. See more information here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/python-sdk/SP-CAAAEU2"&gt;http://dev.splunk.com/view/python-sdk/SP-CAAAEU2&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.1/Search/Aboutcustomsearchcommands"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.1/Search/Aboutcustomsearchcommands&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 16:41:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-force-a-scripted-input-to-be-run-at-search-time-in-order/m-p/226890#M66982</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-11T16:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to force a scripted input to be run at search time, in order to use remote data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-force-a-scripted-input-to-be-run-at-search-time-in-order/m-p/226891#M66983</link>
      <description>&lt;P&gt;Hi drodman29, &lt;/P&gt;

&lt;P&gt;The short answer is NO - data must be collected and indexed first before they can be searched, not the other way around. Performing a search to trigger data input would be like putting cart before a horse. &lt;/P&gt;

&lt;P&gt;The Splunk data pipeline is explained here in detail: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Deploy/Datapipeline"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/Deploy/Datapipeline&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps. Thanks! &lt;BR /&gt;
Hunter&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 16:52:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-force-a-scripted-input-to-be-run-at-search-time-in-order/m-p/226891#M66983</guid>
      <dc:creator>hunters_splunk</dc:creator>
      <dc:date>2017-01-11T16:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to force a scripted input to be run at search time, in order to use remote data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-force-a-scripted-input-to-be-run-at-search-time-in-order/m-p/226892#M66984</link>
      <description>&lt;P&gt;I'm looking into lookups as a way to invoke a script at search time, either way as a custom search command or a lookup it looks like py is the answer. &lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 18:10:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-force-a-scripted-input-to-be-run-at-search-time-in-order/m-p/226892#M66984</guid>
      <dc:creator>drodman29</dc:creator>
      <dc:date>2017-01-11T18:10:21Z</dc:date>
    </item>
  </channel>
</rss>

