<?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: Distributing scripts using deployment server in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Distributing-scripts-using-deployment-server/m-p/259978#M23972</link>
    <description>&lt;P&gt;Scripts can exist inside the apps folder etc/apps/your_app_name/bin/scripts. &lt;BR /&gt;
You just have to make sure you call the script form your inputs as $SPLUNK_HOME$/etc/apps/your_app_name/bin/scripts/your_script&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:14:06 GMT</pubDate>
    <dc:creator>pradeepkumarg</dc:creator>
    <dc:date>2020-09-29T10:14:06Z</dc:date>
    <item>
      <title>Distributing scripts using deployment server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Distributing-scripts-using-deployment-server/m-p/259977#M23971</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;BR /&gt;
Need help with a deployment server concept. Referred splunk docs and few similiar answers, still i'm missing something.&lt;/P&gt;

&lt;P&gt;Scenario : I have few scripted inputs and the related input.conf which need to be distributed to a set of UFs in the environment.&lt;BR /&gt;
Using deployment server, I created an app and then kept the script and input.conf so as to be send down to the clients.&lt;BR /&gt;
App got distributed and is placed in etc/apps/ folder.&lt;BR /&gt;
But for the scripted input to work, Splunk expects it to be in $SPLUNK_HOME\bin\scripts folder.&lt;/P&gt;

&lt;P&gt;How will I handle this?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 03:50:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Distributing-scripts-using-deployment-server/m-p/259977#M23971</guid>
      <dc:creator>meenuvn</dc:creator>
      <dc:date>2016-07-14T03:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing scripts using deployment server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Distributing-scripts-using-deployment-server/m-p/259978#M23972</link>
      <description>&lt;P&gt;Scripts can exist inside the apps folder etc/apps/your_app_name/bin/scripts. &lt;BR /&gt;
You just have to make sure you call the script form your inputs as $SPLUNK_HOME$/etc/apps/your_app_name/bin/scripts/your_script&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:14:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Distributing-scripts-using-deployment-server/m-p/259978#M23972</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2020-09-29T10:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing scripts using deployment server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Distributing-scripts-using-deployment-server/m-p/259979#M23973</link>
      <description>&lt;P&gt;You can keep script in $SPLUNK_HOME/etc/apps/your_app/bin/ folder.  The entry in the inputs.conf should be same as before.&lt;BR /&gt;
i.e &lt;BR /&gt;
[script://./bin/Server.py]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
interval = 0&lt;/P&gt;

&lt;P&gt;Splunk first look for script in the bin folder of the app, then bin folder of the search app and finally under $SPLUNK_HOME/bin/scripts/&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:14:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Distributing-scripts-using-deployment-server/m-p/259979#M23973</guid>
      <dc:creator>hardikJsheth</dc:creator>
      <dc:date>2020-09-29T10:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing scripts using deployment server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Distributing-scripts-using-deployment-server/m-p/259980#M23974</link>
      <description>&lt;P&gt;Thanks for the quick reply  gpradeepkumarreddy &amp;amp;  hardikJsheth.&lt;BR /&gt;
So I'm now retrying like this&lt;BR /&gt;
 1. KEpt the script under Scripts/bin/scripts folder.&lt;BR /&gt;
 2. Added input.conf file under Scripts/local folder.&lt;/P&gt;

&lt;P&gt;Splunk log in the client machine shows this error.&lt;BR /&gt;
07-14-2016 00:36:47.562 -0400 ERROR FrameworkUtils - Incorrect path to script: C:\Program Files\SplunkUniversalForwarder\Scripted_Inputs\bin\scripts\Invoke_ErrorDCN.bat.  Script must be located inside $SPLUNK_HOME\bin\scripts.&lt;BR /&gt;
07-14-2016 00:36:47.562 -0400 ERROR ExecProcessor - Ignoring: ""C:\Program Files\SplunkUniversalForwarder\Scripted_Inputs\bin\scripts\Invoke_ErrorDCN.bat""&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:14:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Distributing-scripts-using-deployment-server/m-p/259980#M23974</guid>
      <dc:creator>meenuvn</dc:creator>
      <dc:date>2020-09-29T10:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing scripts using deployment server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Distributing-scripts-using-deployment-server/m-p/259981#M23975</link>
      <description>&lt;P&gt;Never mind..There was a small mistake..Corrected it and got it working. Thanks much.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 15:58:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Distributing-scripts-using-deployment-server/m-p/259981#M23975</guid>
      <dc:creator>meenuvn</dc:creator>
      <dc:date>2016-07-14T15:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing scripts using deployment server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Distributing-scripts-using-deployment-server/m-p/259982#M23976</link>
      <description>&lt;P&gt;I have this same issue. what was the fix?&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 19:29:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Distributing-scripts-using-deployment-server/m-p/259982#M23976</guid>
      <dc:creator>agentguerry</dc:creator>
      <dc:date>2019-05-16T19:29:21Z</dc:date>
    </item>
  </channel>
</rss>

