Splunk Dev

Where to find the python.log for details on an error that occurred while generating a PDF report?

Bhuavana
Explorer

When i tried to edit dashboard-->click on 'Schedule PDF delivery'-->'Send Test Email' then it is processed and email with the message belows is triggered.

An error occurred while generating the PDF. Please see python.log for details.

To analyze python.log, I need to know where the python.log resides for this app in splunk_home folder?

Labels (1)
Tags (5)

sarahnazzar
Explorer

Hello @Bhuavana

You can have a look at this, may be this helps.
https://answers.splunk.com/answers/339920/where-should-i-check-for-pythonlog-error-messages.html

Cheers!

0 Karma

jkat54
SplunkTrust
SplunkTrust

"/splunkforwarder/var/log/splunk.. "

Splunk universal forwarders do not have python, thus no python log. You should be looking on the search head, not the forwarder.

0 Karma

jkat54
SplunkTrust
SplunkTrust

As long as you've properly setup internal log forwarding as per best practices... this search will show the python logs.

index=_internal sourcetype=splunk_python
0 Karma

Bhuavana
Explorer

Im working in splunk 6.1 and I have verified /splunkforwarder/var/log/splunk.. but it is not there...

0 Karma

jujis008
Explorer

Hi,
I got the same issue, the log file should be here.
Splunk/var/log/splunk/python.log
but i don't have access to splunk server.

anyone have the same issue?

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...