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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...