<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Color table cells in scheduled PDF delivery in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Color-table-cells-in-scheduled-PDF-delivery/m-p/255511#M15984</link>
    <description>&lt;P&gt;After over 2 years is splunk still not going to provide a working solution for this?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Aug 2017 22:18:10 GMT</pubDate>
    <dc:creator>jlaigo2</dc:creator>
    <dc:date>2017-08-30T22:18:10Z</dc:date>
    <item>
      <title>Color table cells in scheduled PDF delivery</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Color-table-cells-in-scheduled-PDF-delivery/m-p/255508#M15981</link>
      <description>&lt;P&gt;I know I can add javascript to a dashboard to color table cells based on each cell's value. When I download the PDF, however, the cell's color is obviously removed. I was wondering if there is a way to schedule a PDF delivery of this dashboard that preserves the table cell colors.&lt;/P&gt;

&lt;P&gt;Does anyone know of a solution for this?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 14:00:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Color-table-cells-in-scheduled-PDF-delivery/m-p/255508#M15981</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2016-03-21T14:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Color table cells in scheduled PDF delivery</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Color-table-cells-in-scheduled-PDF-delivery/m-p/255509#M15982</link>
      <description>&lt;P&gt;I'm still having this issue. Does anyone have a workaround?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 16:03:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Color-table-cells-in-scheduled-PDF-delivery/m-p/255509#M15982</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2016-03-22T16:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Color table cells in scheduled PDF delivery</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Color-table-cells-in-scheduled-PDF-delivery/m-p/255510#M15983</link>
      <description>&lt;P&gt;I supposed that if you use format in simple XML you should achieve what you are looking for: &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/TableFormatsXML"&gt;http://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/TableFormatsXML&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;But the reality is that this does not work, despite of the fact that the documentation talks about all the simpleXML parameteres printed in pdf......&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.0/Viz/DashboardPDFs"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.0/Viz/DashboardPDFs&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;"You cannot generate PDFs of dashboards that are built using advanced XML or HTML. PDF generation works only with dashboards built with simple XML."&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 15:35:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Color-table-cells-in-scheduled-PDF-delivery/m-p/255510#M15983</guid>
      <dc:creator>carroyo82</dc:creator>
      <dc:date>2017-05-23T15:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Color table cells in scheduled PDF delivery</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Color-table-cells-in-scheduled-PDF-delivery/m-p/255511#M15984</link>
      <description>&lt;P&gt;After over 2 years is splunk still not going to provide a working solution for this?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 22:18:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Color-table-cells-in-scheduled-PDF-delivery/m-p/255511#M15984</guid>
      <dc:creator>jlaigo2</dc:creator>
      <dc:date>2017-08-30T22:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Color table cells in scheduled PDF delivery</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Color-table-cells-in-scheduled-PDF-delivery/m-p/255512#M15985</link>
      <description>&lt;P&gt;a/look at this app : &lt;A href="https://splunkbase.splunk.com/app/4030/"&gt;https://splunkbase.splunk.com/app/4030/&lt;/A&gt;&lt;BR /&gt;
if it does not fit your need : &lt;BR /&gt;
b/&lt;BR /&gt;
One workaround is to use a css for printing, using very thick borders : &lt;BR /&gt;
example of css : &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;@media print {&lt;BR /&gt;
    td.range-severe {&lt;BR /&gt;
        box-shadow: inset 0 0 0 1000px darkred !important;&lt;BR /&gt;
        color: #eee !important;&lt;BR /&gt;
        -webkit-print-color-adjust: exact !important;&lt;BR /&gt;
    }&lt;BR /&gt;
}&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;working example with this app, containing the js and css, and a dashboard : &lt;A href="https://github.com/simondev65/tableprintpdf"&gt;https://github.com/simondev65/tableprintpdf&lt;/A&gt;&lt;BR /&gt;
look for the dashboard inside, export to pdf using your browser : print-&amp;gt;pdf. (not the export to pdf within splunk). &lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1158i459DDBE97FEF823F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;(this example is courtesy of @dveuve_splunk )&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 20:30:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Color-table-cells-in-scheduled-PDF-delivery/m-p/255512#M15985</guid>
      <dc:creator>sduchene_splunk</dc:creator>
      <dc:date>2019-09-18T20:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Color table cells in scheduled PDF delivery</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Color-table-cells-in-scheduled-PDF-delivery/m-p/676913#M55414</link>
      <description>&lt;P&gt;Bumping this thread. I'd like a solution to this post too.&lt;/P&gt;&lt;P&gt;Below is Simple XML code I have used.&lt;/P&gt;&lt;PRE&gt;&amp;lt;table&amp;gt;&lt;BR /&gt;  &amp;lt;search&amp;gt;&amp;lt;/search&amp;gt;&lt;BR /&gt;  &amp;lt;format type="color" field="Health"&amp;gt;&lt;BR /&gt;    &amp;lt;colorPalette type="map"&amp;gt;{"Critical":#6A5C9E, "Abnormal":#6A5C9E, "Normal":#65A637}&amp;lt;/colorPalette&amp;gt;&lt;BR /&gt;  &amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;/PRE&gt;&lt;P&gt;See output, image below. (Dashboard left, PDF right.)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shandr_0-1707353225666.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29295iF4C7FE540D83B730/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shandr_0-1707353225666.png" alt="shandr_0-1707353225666.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Splunk Cloud&lt;BR /&gt;&lt;SPAN&gt;Version 9.0.2303.201&lt;BR /&gt;Experience:&amp;nbsp;Classic&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN&gt;Links to Splunk Cloud docs&lt;BR /&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/TableFormatsXML&amp;nbsp;&lt;BR /&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/DashboardPDFs&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 01:00:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Color-table-cells-in-scheduled-PDF-delivery/m-p/676913#M55414</guid>
      <dc:creator>shandr</dc:creator>
      <dc:date>2024-02-08T01:00:01Z</dc:date>
    </item>
  </channel>
</rss>

