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 App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

Enterprise Security Content Update (ESCU) | New Releases

In April, the Splunk Threat Research Team had 2 releases of new security content via the Enterprise Security ...