<?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: How to troubleshoot why a data input script inside an app is not running? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-a-data-input-script-inside-an-app-is-not/m-p/200042#M39552</link>
    <description>&lt;P&gt;@MuS do you know how to run a .ksh script in splunk?? Because I don't figure it out and already tried a lot of possibilities but no luck at all.&lt;/P&gt;

&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2016 10:27:01 GMT</pubDate>
    <dc:creator>joao_amorim</dc:creator>
    <dc:date>2016-04-14T10:27:01Z</dc:date>
    <item>
      <title>How to troubleshoot why a data input script inside an app is not running?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-a-data-input-script-inside-an-app-is-not/m-p/200039#M39549</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I have a script that I want to put inside the appName/bin dir inside a specific app.&lt;/P&gt;

&lt;P&gt;Previously, the script was inside the splunkHome/bin and it works perfectly and in that app, I configured the inputs.conf and the default.meta accordingly to the script.&lt;/P&gt;

&lt;P&gt;The problem is that when I moved the script from the splunkHome/bin dir to the appName/bin dir, I changed the inputs.conf and the default.meta again, but the script that previously gave me some results, now results don't appear.&lt;/P&gt;

&lt;P&gt;I already saw this link:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.6/AdvancedDev/ScriptSetup"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.6/AdvancedDev/ScriptSetup&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;But it didn't help.&lt;/P&gt;

&lt;P&gt;Anyone please.... Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 11:18:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-a-data-input-script-inside-an-app-is-not/m-p/200039#M39549</guid>
      <dc:creator>joao_amorim</dc:creator>
      <dc:date>2016-04-13T11:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why a data input script inside an app is not running?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-a-data-input-script-inside-an-app-is-not/m-p/200040#M39550</link>
      <description>&lt;P&gt;Hi joao_amorim,&lt;/P&gt;

&lt;P&gt;first, try to run the script manually in the new location:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; $SPLKUNK_HOME/bin/splunk cmd python $SPLUNK_HOME/etc/apps/YourAppName/bin/YourScript.py
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;assuming it's a python script. &lt;/P&gt;

&lt;P&gt;If this shows no error but still does not work, add some logging functions to your script - see the docs for more details about this &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.0/AdvancedDev/ModInputsLog"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.0/AdvancedDev/ModInputsLog&lt;/A&gt; &lt;BR /&gt;
Don't be confused that this link talks about modular inputs; the method of logging is the same for scripted or modular input.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 00:08:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-a-data-input-script-inside-an-app-is-not/m-p/200040#M39550</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-04-14T00:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why a data input script inside an app is not running?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-a-data-input-script-inside-an-app-is-not/m-p/200041#M39551</link>
      <description>&lt;P&gt;Ok i will try that.&lt;/P&gt;

&lt;P&gt;Actually my script is a .ksh so i will try and then i will let you know.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 08:59:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-a-data-input-script-inside-an-app-is-not/m-p/200041#M39551</guid>
      <dc:creator>joao_amorim</dc:creator>
      <dc:date>2016-04-14T08:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why a data input script inside an app is not running?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-a-data-input-script-inside-an-app-is-not/m-p/200042#M39552</link>
      <description>&lt;P&gt;@MuS do you know how to run a .ksh script in splunk?? Because I don't figure it out and already tried a lot of possibilities but no luck at all.&lt;/P&gt;

&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 10:27:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-a-data-input-script-inside-an-app-is-not/m-p/200042#M39552</guid>
      <dc:creator>joao_amorim</dc:creator>
      <dc:date>2016-04-14T10:27:01Z</dc:date>
    </item>
  </channel>
</rss>

