Reporting

How to change the default header and footer in the generated pdf of the PDF Report Server?

imrago
Contributor

How could I remove Splunk Alert and Generated by Splunk messages from the header and footer of the generated pdf and replace it with a custom one?

Tags (2)
1 Solution

id_hn
Engager

answer-b.

I changed $SPLUNK_HOME/etc/apps/pdfserver/bin/pdfhandler.py, and it works fine.

I think this is safer.

View solution in original post

id_hn
Engager

answer-b.

I changed $SPLUNK_HOME/etc/apps/pdfserver/bin/pdfhandler.py, and it works fine.

I think this is safer.

imrago
Contributor

It can be changed by modifying the following file :

/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/controllers/report.py

0 Karma

Ant1D
Motivator

Hi,

Can you describe the change that you made?

0 Karma

sympatiko
Communicator

Hi,

Do you have any progress?

Thanks,
Eddel

0 Karma
Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...