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!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...