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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...