<?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: Custom Python Script Not Executing in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Custom-Python-Script-Not-Executing/m-p/291737#M9499</link>
    <description>&lt;P&gt;Try running the script with the command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk cmd python etc\apps\search\bin\splunk_script.py
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will run it with the same environment the scripted input would use, so it should help you identify potential permission or other issues.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2018 20:23:01 GMT</pubDate>
    <dc:creator>micahkemp</dc:creator>
    <dc:date>2018-01-09T20:23:01Z</dc:date>
    <item>
      <title>Custom Python Script Not Executing</title>
      <link>https://community.splunk.com/t5/Reporting/Custom-Python-Script-Not-Executing/m-p/291736#M9498</link>
      <description>&lt;P&gt;I have created a python script for reading log data from a custom application. The script is copied in below folder&lt;BR /&gt;
$SPLUNK_HOME\etc\apps\search\bin\splunk_script.py&lt;/P&gt;

&lt;P&gt;The configuration is done using the Data Inputs - Local Inputs - &amp;gt; Scripts  menu to execute the script every 5 seconds&lt;BR /&gt;
The script reads the . log file and returns text in CSV format&lt;BR /&gt;
However the script is not executing. &lt;/P&gt;

&lt;P&gt;Pls share the steps to configure a python script execution using the scripts option in data inputs. The results returned by the python scripts should be visible using the Search &amp;amp; Reporting menu in Splunk&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:31:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Custom-Python-Script-Not-Executing/m-p/291736#M9498</guid>
      <dc:creator>KP2018</dc:creator>
      <dc:date>2020-09-29T17:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Script Not Executing</title>
      <link>https://community.splunk.com/t5/Reporting/Custom-Python-Script-Not-Executing/m-p/291737#M9499</link>
      <description>&lt;P&gt;Try running the script with the command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk cmd python etc\apps\search\bin\splunk_script.py
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will run it with the same environment the scripted input would use, so it should help you identify potential permission or other issues.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 20:23:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Custom-Python-Script-Not-Executing/m-p/291737#M9499</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-01-09T20:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Script Not Executing</title>
      <link>https://community.splunk.com/t5/Reporting/Custom-Python-Script-Not-Executing/m-p/547149#M9500</link>
      <description>&lt;P&gt;script is working with that command but not working when i am using input.conf&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 05:13:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Custom-Python-Script-Not-Executing/m-p/547149#M9500</guid>
      <dc:creator>msonawala</dc:creator>
      <dc:date>2021-04-08T05:13:30Z</dc:date>
    </item>
  </channel>
</rss>

