All Apps and Add-ons

Why are table cell colors not appearing in PDF report?

dlovett
Path Finder

I have a report that displays 4 simple tables with data. I'm using simple xml, css, and js via the splunk 6.x dashboards example app to change the color of certain table cells. Everything works and looks fine in the dashboard view; however, when I export to PDF the background color of the cells are not present. ie The whole report is in black and white.

Is this by design? Or is this via user error?

Tanefo
Path Finder

you splunk web it's started via a browser which interpret script language js, css (javascript and css...) .so that you can see the color table cell on your dashbords or reports. Now you can'it see color after print on pdf because you software pdf can't to interpret those scripts javascript, css.

0 Karma

sympatiko
Communicator

You're talking about the fact.

0 Karma

Lucas_K
Motivator

I'd guess that this just isn't supported. As someone that is migrating from the PDF server app to built in pdf generation this is something that has quite annoyed me.

Going from the previous full WYSIWYG pdf dashboards to what they have now I have customers that want their old colored reports back. Something that I just can't do and seriously effects its usefulness.

0 Karma

apietersen
Path Finder

I agree, this is a poor feature. Hope they will come up soon with a WYSIWYG solution. This is far from perfect when you have long table output. Disappointing for a Big Data tool as Splunk.

0 Karma

Lucas_K
Motivator

Just an update to this. I noticed a new app that uses phantomjs and casperjs to do similar things to the old pdf server app.

https://apps.splunk.com/app/2614

I havn't tested it yet to see what the limitations are.

0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!