<?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: ERROR script - command=&amp;quot;runshellscript&amp;quot;, Cannot find script in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/ERROR-script-command-quot-runshellscript-quot-Cannot-find-script/m-p/28298#M4820</link>
    <description>&lt;P&gt;I am also having this problem. I have had a working script in the /opt/splunk/bin/scripts/ directory for several months now, and suddenly it is not firing when my alerts are generated. I checked the splunkd.log and found command="runshellscript" cannot find script at /opt/splunk/bin/scripts/.py.&lt;/P&gt;

&lt;P&gt;Anyone know what might cause this behavior? The splunk instance has not be upgraded or altered in many months, so the files shouldn't be changing or randomly fail to find something that has existed for that long.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jan 2015 20:01:20 GMT</pubDate>
    <dc:creator>thelen_m_kevin</dc:creator>
    <dc:date>2015-01-13T20:01:20Z</dc:date>
    <item>
      <title>ERROR script - command="runshellscript", Cannot find script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ERROR-script-command-quot-runshellscript-quot-Cannot-find-script/m-p/28297#M4819</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;
I have installed the app &lt;A href="http://splunk-base.splunk.com/apps/50967/use-python-mail-for-scripted-alerts"&gt;http://splunk-base.splunk.com/apps/50967/use-python-mail-for-scripted-alerts&lt;/A&gt; and i have made the troubleshooting with this manual &lt;A href="http://wiki.splunk.com/Community:TroubleshootingAlertScripts"&gt;http://wiki.splunk.com/Community:TroubleshootingAlertScripts&lt;/A&gt;, but whiteout success.&lt;BR /&gt;
This is the results:&lt;BR /&gt;
Check that the script itself runs outside of Splunk. --&amp;gt; pass successful&lt;BR /&gt;
Use the "somesearch here | runshellscript &lt;YOUR_SCRIPT.&gt;" --&amp;gt; pass successful&lt;BR /&gt;
Test with schedule and elerting in savedsearch --&amp;gt; faild. --&amp;gt; ERROR script - command="runshellscript", Cannot find script at /opt/splunk/bin/scripts/sendmailpython.sh in the splunkd.log.&lt;BR /&gt;
Any ideas what happen?&lt;BR /&gt;
Sam&lt;/YOUR_SCRIPT.&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2013 08:43:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ERROR-script-command-quot-runshellscript-quot-Cannot-find-script/m-p/28297#M4819</guid>
      <dc:creator>surfjose</dc:creator>
      <dc:date>2013-02-12T08:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR script - command="runshellscript", Cannot find script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ERROR-script-command-quot-runshellscript-quot-Cannot-find-script/m-p/28298#M4820</link>
      <description>&lt;P&gt;I am also having this problem. I have had a working script in the /opt/splunk/bin/scripts/ directory for several months now, and suddenly it is not firing when my alerts are generated. I checked the splunkd.log and found command="runshellscript" cannot find script at /opt/splunk/bin/scripts/.py.&lt;/P&gt;

&lt;P&gt;Anyone know what might cause this behavior? The splunk instance has not be upgraded or altered in many months, so the files shouldn't be changing or randomly fail to find something that has existed for that long.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2015 20:01:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ERROR-script-command-quot-runshellscript-quot-Cannot-find-script/m-p/28298#M4820</guid>
      <dc:creator>thelen_m_kevin</dc:creator>
      <dc:date>2015-01-13T20:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR script - command="runshellscript", Cannot find script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ERROR-script-command-quot-runshellscript-quot-Cannot-find-script/m-p/28299#M4821</link>
      <description>&lt;P&gt;It appears that this problem arises due to the user not having the right splunk "capability".   I'm not sure which capability is required but when I added the "admin" role to my user, the problem went away.  &lt;/P&gt;

&lt;P&gt;I would love to know specifically which capability is required so I can make my user minimally enabled to use runshellscript.py&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 19:27:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ERROR-script-command-quot-runshellscript-quot-Cannot-find-script/m-p/28299#M4821</guid>
      <dc:creator>robertlight</dc:creator>
      <dc:date>2015-10-02T19:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR script - command="runshellscript", Cannot find script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ERROR-script-command-quot-runshellscript-quot-Cannot-find-script/m-p/28300#M4822</link>
      <description>&lt;P&gt;It appears that the capability:  edit_scripted  is required to use "runshellscript"&lt;/P&gt;

&lt;P&gt;without this capability, I was getting the error described above,  with the capability, it works fine.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 16:03:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ERROR-script-command-quot-runshellscript-quot-Cannot-find-script/m-p/28300#M4822</guid>
      <dc:creator>robertlight</dc:creator>
      <dc:date>2015-10-07T16:03:58Z</dc:date>
    </item>
  </channel>
</rss>

