<?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 python scripts in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-python-scripts/m-p/89057#M22802</link>
    <description>&lt;P&gt;Try: &lt;BR /&gt;
    $SPLUNK_HOME/bin/splunk cmd /&lt;PATH to="" script=""&gt;&lt;/PATH&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2013 00:01:45 GMT</pubDate>
    <dc:creator>sbrant_splunk</dc:creator>
    <dc:date>2013-04-10T00:01:45Z</dc:date>
    <item>
      <title>How to troubleshoot python scripts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-python-scripts/m-p/89056#M22801</link>
      <description>&lt;P&gt;I'm trying to get the Pulse cloudwatch app to work using boto and dateutil, but splunkd.log shows this:&lt;/P&gt;

&lt;P&gt;04-09-2013 22:56:32.711 +0000 INFO  ExecProcessor - Ran script: python /opt/splunk/etc/apps/pulse_for_aws_cloudwatch-master/bin/ELB_Metrics.py us-east-1 300, took 146.2 milliseconds to run, 0 bytes read, exited with code 1&lt;/P&gt;

&lt;P&gt;So the python script is erroring out but I don't know why. How do I run it under the same environment Splunk does so I can find out exactly what's going on?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:42:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-python-scripts/m-p/89056#M22801</guid>
      <dc:creator>beaunewcomb</dc:creator>
      <dc:date>2020-09-28T13:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot python scripts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-python-scripts/m-p/89057#M22802</link>
      <description>&lt;P&gt;Try: &lt;BR /&gt;
    $SPLUNK_HOME/bin/splunk cmd /&lt;PATH to="" script=""&gt;&lt;/PATH&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2013 00:01:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-python-scripts/m-p/89057#M22802</guid>
      <dc:creator>sbrant_splunk</dc:creator>
      <dc:date>2013-04-10T00:01:45Z</dc:date>
    </item>
  </channel>
</rss>

