<?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 Getting Execprocessor error with bash script in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Getting-Execprocessor-error-with-bash-script/m-p/375922#M6182</link>
    <description>&lt;P&gt;I am getting this error when running my script as a scripted input:&lt;/P&gt;

&lt;P&gt;05-07-2018 10:28:00.177 -0500 ERROR ExecProcessor - message from "/opt/splunk/bin/scripts/pingdomtest" \r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100   723    0   723    0     0    842      0 --:--:-- --:--:-- --:--:--   842\r100  8666    0  8666    0     0   8345      0 --:--:--  0:00:01 --:--:--  8348&lt;/P&gt;

&lt;P&gt;My inputs .conf looks like this:&lt;BR /&gt;
[script://$SPLUNK_HOME/bin/scripts/pingdomtest]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = test&lt;BR /&gt;
interval = 120&lt;BR /&gt;
source = ./pingdomtest&lt;BR /&gt;
sourcetype = json_no_timestamp&lt;/P&gt;

&lt;P&gt;I have run the script by itself and it is working and getting the data down from pingdom.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 19:22:02 GMT</pubDate>
    <dc:creator>matthewhasty</dc:creator>
    <dc:date>2020-09-29T19:22:02Z</dc:date>
    <item>
      <title>Getting Execprocessor error with bash script</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-Execprocessor-error-with-bash-script/m-p/375922#M6182</link>
      <description>&lt;P&gt;I am getting this error when running my script as a scripted input:&lt;/P&gt;

&lt;P&gt;05-07-2018 10:28:00.177 -0500 ERROR ExecProcessor - message from "/opt/splunk/bin/scripts/pingdomtest" \r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100   723    0   723    0     0    842      0 --:--:-- --:--:-- --:--:--   842\r100  8666    0  8666    0     0   8345      0 --:--:--  0:00:01 --:--:--  8348&lt;/P&gt;

&lt;P&gt;My inputs .conf looks like this:&lt;BR /&gt;
[script://$SPLUNK_HOME/bin/scripts/pingdomtest]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = test&lt;BR /&gt;
interval = 120&lt;BR /&gt;
source = ./pingdomtest&lt;BR /&gt;
sourcetype = json_no_timestamp&lt;/P&gt;

&lt;P&gt;I have run the script by itself and it is working and getting the data down from pingdom.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:22:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-Execprocessor-error-with-bash-script/m-p/375922#M6182</guid>
      <dc:creator>matthewhasty</dc:creator>
      <dc:date>2020-09-29T19:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Execprocessor error with bash script</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-Execprocessor-error-with-bash-script/m-p/375923#M6183</link>
      <description>&lt;P&gt;Try running the script from the command line as Splunk like so:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk cmd /opt/splunk/bin/scripts/pingdomtest
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 May 2018 15:56:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-Execprocessor-error-with-bash-script/m-p/375923#M6183</guid>
      <dc:creator>jconger</dc:creator>
      <dc:date>2018-05-07T15:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Execprocessor error with bash script</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-Execprocessor-error-with-bash-script/m-p/375924#M6184</link>
      <description>&lt;P&gt;Had to fix the script, it is working now, thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 16:27:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-Execprocessor-error-with-bash-script/m-p/375924#M6184</guid>
      <dc:creator>matthewhasty</dc:creator>
      <dc:date>2018-05-07T16:27:47Z</dc:date>
    </item>
  </channel>
</rss>

