Reporting

How do I alter the footer in PDF reports in Splunk 5.0.5

jbsplunk
Splunk Employee
Splunk Employee

I'm able to remove the Splunk logo from PDF reports, but I would also like to remove the date/timestamp from the footer as well. Any ideas?

Tags (1)
1 Solution

Chubbybunny
Splunk Employee
Splunk Employee

this is a bit of a hack, but you can esaliy do this by editing the file:

$SPLUNK_HOME/lib/python2.7/site-packages/splunk/pdf/pdfrenderer.py 

and comment out the line

canvas.drawText(textObject)

While this does the trick, the file will be overwritten whenever updates are applied.

(\__/)
(='.'=)
(")_(")

View solution in original post

Chubbybunny
Splunk Employee
Splunk Employee

this is a bit of a hack, but you can esaliy do this by editing the file:

$SPLUNK_HOME/lib/python2.7/site-packages/splunk/pdf/pdfrenderer.py 

and comment out the line

canvas.drawText(textObject)

While this does the trick, the file will be overwritten whenever updates are applied.

(\__/)
(='.'=)
(")_(")

jbsplunk
Splunk Employee
Splunk Employee

that works!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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