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!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...