<?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: scripted input in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348553#M64038</link>
    <description>&lt;P&gt;I think that like goes to where I can add the Nix add-on...? I don't really see any examples ?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2017 17:31:17 GMT</pubDate>
    <dc:creator>riotto</dc:creator>
    <dc:date>2017-06-16T17:31:17Z</dc:date>
    <item>
      <title>scripted input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348549#M64034</link>
      <description>&lt;P&gt;I have a korn shell that creates a log.  I want to run the script via the inputs.conf, every Monday at 5am. I don't want the log of the script to be sent to the indexer yet, only to the log, and then at a different time I will monitor the log for input to the splunk indexer.  The path to the script is /home/xxxx/my.ksh&lt;/P&gt;

&lt;P&gt;What exactly does the inputs.conf need to look like just to get the file to run at that time?  I can add the monitor file without a problem&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 16:55:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348549#M64034</guid>
      <dc:creator>riotto</dc:creator>
      <dc:date>2017-06-16T16:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: scripted input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348550#M64035</link>
      <description>&lt;P&gt;Check out the *NIX TA app on splunkbase; it is chock full of examples.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 17:06:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348550#M64035</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-16T17:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: scripted input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348551#M64036</link>
      <description>&lt;P&gt;where exactly do I find this?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 17:11:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348551#M64036</guid>
      <dc:creator>riotto</dc:creator>
      <dc:date>2017-06-16T17:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: scripted input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348552#M64037</link>
      <description>&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/833/"&gt;https://splunkbase.splunk.com/app/833/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 17:14:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348552#M64037</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-16T17:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: scripted input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348553#M64038</link>
      <description>&lt;P&gt;I think that like goes to where I can add the Nix add-on...? I don't really see any examples ?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 17:31:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348553#M64038</guid>
      <dc:creator>riotto</dc:creator>
      <dc:date>2017-06-16T17:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: scripted input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348554#M64039</link>
      <description>&lt;P&gt;I looked all over and don't see a good example, I am really just using the splunkforwarder to run the job, like cron would. &lt;BR /&gt;
 If I move the script to $SPLUNK_HOME/etc/apps/Splunk_TA_nix/bin , I think the inputs.conf needs to be  just this:&lt;/P&gt;

&lt;P&gt;[script://./bin/my.ksh]&lt;BR /&gt;
interval = 604800&lt;/P&gt;

&lt;P&gt;This will run the script just once a week - nothing sent to the indexer&lt;/P&gt;

&lt;P&gt;Does this look right?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:28:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348554#M64039</guid>
      <dc:creator>riotto</dc:creator>
      <dc:date>2020-09-29T14:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: scripted input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348555#M64040</link>
      <description>&lt;P&gt;You can download the app, unzip it (rename to *.tgz), and look at the examples in the &lt;CODE&gt;inputs.conf&lt;/CODE&gt; file.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 21:51:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/scripted-input/m-p/348555#M64040</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-16T21:51:21Z</dc:date>
    </item>
  </channel>
</rss>

