Dashboards & Visualizations

Has anyone used a pdf file to load/open as part of a dashboard?

arielpconsolaci
Path Finder

Hi Splunkers,

 

Has anyone used a pdf file to load/open as part of a dashboard?

(Not a link to the pdf file)

 

Thanks in advance.

Kind Regards,

Ariel

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Do you mean use an iframe to display a PDF document as part of your dashboard?

If so, this has to be enable through settings in the web.conf file.

[settings]
dashboard_html_allow_embeddable_content = true
dashboard_html_allow_iframes = true
dashboard_html_allowed_domains = <list of allowed domains>
0 Karma

PickleRick
SplunkTrust
SplunkTrust

Also take into account that displaying PDFs is not a Splunk interface functionality but rather something that might be (or not, depending on the version) implemented on the browser side. And might probably be disabled in some browsers.

0 Karma

arielpconsolaci
Path Finder

HI @ITWhisperer 

 

Yes. That is correct.

And iframe is the way I found to load a pdf file. However, it does not seem to work properly.

My files are located under the appserver/static directory of the application.

 

Thanks for the advise on web.conf. 

I failed to mention that the platform is in Splunk Cloud. That conf seems to be intended on system level. Is that right? 

 

Best Regards,

Ariel

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Yes, web.conf is in etc/system/local and you may not be able to change it for cloud so easily if at all.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...