<?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 Backfill Scripted Input Data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Backfill-Scripted-Input-Data/m-p/566392#M100696</link>
    <description>&lt;P&gt;I'm running Splunk 8.2.2 in a docker container.&lt;/P&gt;&lt;P&gt;I'm using a separate app with a scripted input to get data into Splunk via a bash script.&lt;/P&gt;&lt;P&gt;That script works perfectly, except when the source API screws up, or when I delete the index and need to backfill all of the previous data.&lt;/P&gt;&lt;P&gt;The scripted input is setup in inputs.conf as:&lt;/P&gt;&lt;P&gt;[script://$SPLUNK_HOME/etc/apps/app/bin/app.sh]&lt;BR /&gt;interval = */5 * * * *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to manually run a script one time and have splunk consume the output?&amp;nbsp; I'd really like to avoid setting up a regular monitor, and have splunk consume a regular file just for a backfill operation.&amp;nbsp; I'd also like to avoid modifying the working scripted input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any suggestions you can provide.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Sep 2021 04:22:26 GMT</pubDate>
    <dc:creator>raidercom</dc:creator>
    <dc:date>2021-09-09T04:22:26Z</dc:date>
    <item>
      <title>Backfill Scripted Input Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Backfill-Scripted-Input-Data/m-p/566392#M100696</link>
      <description>&lt;P&gt;I'm running Splunk 8.2.2 in a docker container.&lt;/P&gt;&lt;P&gt;I'm using a separate app with a scripted input to get data into Splunk via a bash script.&lt;/P&gt;&lt;P&gt;That script works perfectly, except when the source API screws up, or when I delete the index and need to backfill all of the previous data.&lt;/P&gt;&lt;P&gt;The scripted input is setup in inputs.conf as:&lt;/P&gt;&lt;P&gt;[script://$SPLUNK_HOME/etc/apps/app/bin/app.sh]&lt;BR /&gt;interval = */5 * * * *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to manually run a script one time and have splunk consume the output?&amp;nbsp; I'd really like to avoid setting up a regular monitor, and have splunk consume a regular file just for a backfill operation.&amp;nbsp; I'd also like to avoid modifying the working scripted input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any suggestions you can provide.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 04:22:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Backfill-Scripted-Input-Data/m-p/566392#M100696</guid>
      <dc:creator>raidercom</dc:creator>
      <dc:date>2021-09-09T04:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Backfill Scripted Input Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Backfill-Scripted-Input-Data/m-p/566735#M100721</link>
      <description>&lt;P&gt;I ended up merging 2 solutions.&lt;/P&gt;&lt;P&gt;1) scripted input that runs a bash script that outputs to a file&lt;/P&gt;&lt;P&gt;2) monitor that log file&lt;/P&gt;</description>
      <pubDate>Sat, 11 Sep 2021 21:47:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Backfill-Scripted-Input-Data/m-p/566735#M100721</guid>
      <dc:creator>raidercom</dc:creator>
      <dc:date>2021-09-11T21:47:29Z</dc:date>
    </item>
  </channel>
</rss>

