Dashboards & Visualizations

Export PDF option does not work

Contributor

The Export PDF link does not work from any of my dashboards. Clicking on Export PDF does nothing. Running Splunk Enterprise 7.0.

alt text

Path Finder

I had similar issue and it looks like all dashboards with <init> tag have this issue, splunk version I am using is 7.0.3. @splunk any defects logged on this?

This seem to be an issue on 7.1 version also.

Explorer

Can confirm this is not a permissions issue, as it does work on some of my dashboards and not others. As described by kyaparla temporarily removing the init tag on my dashboard that it does not work on then allows it to export to PDF. I am on version 7.0.3.4.

Paging @splunk

0 Karma

Communicator

Hi @niketnilay and @mousumichowdhury

My export to pdf works well for the dashboard where i dont have any input elements like dropdown . But when i have those input elements then how to export them to PDF ?

Hi mousumi,
Can you please clarify if you have tried with dropdowns in your dashboard in splunk 7.0 as we are using 6.6.3 now.

Thanks.

0 Karma

Contributor

Hi,

Do you have permission to export? Also, which browser are you using? I'm also running Splunk 7.0 and the export PDF is working fine for me.

Thanks.

0 Karma

Legend

@simpkins1958, your Schedule PDF Delivery is disabled. By any chance are you using Dashboard with form input elements like dropdown etc. Can you try a copy of dashboard without the form elements and see if it works?

On the other hand I tried an basic form with one input and a Chart with Search results and although I had Scheduled PDF Delivery disabled, I was still able to Export the PDF. So you might have to share the content of your dashboard for us to help you out.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

Super Champion

can you share your source code for any dashboard where "Export PDF" doesn't work? Just to double check, you're caring about "Export PDF" and not "Schedule PDF Delivery"?

0 Karma

Contributor
<dashboard hideSplunkBar="false" hideFooter="false">
  <label>Server Console Summary</label>
  <init>
    <set token="earliestToken">-24h</set>
    <set token="searchRefreshToken">5m</set>
    <set token="searchRefreshTypeToken">interval</set>
    <set token="mobilityConsoleUrl">https://xxx.com:8080</set>
    <set token="diagnosticsConsoleUrl">https://yyy.com:8080/</set>
  </init>  
  <row>
    <panel>
      <table>
        <title>Mobility pool</title>
        <search>
          <query>sourcetype="nm_pool_status"
               | dedup host
               | table host d_count d_count_android d_count_ios d_count_mac d_count_win d_license_tot d_license_avail _time
               | `Rename_time_to_last_update`
               | `Rename_d_count_to_devices`
               | `Rename_d_count_android_to_devices_android`
               | `Rename_d_count_ios_to_devices_ios`
               | `Rename_d_count_mac_to_devices_mac`
               | `Rename_d_count_win_to_devices_windows`
               | `Rename_d_license_tot_to_device_licenses_total`
               | `Rename_d_license_avail_to_device_licenses_available`
               | `Rename_host_to_pool`
               | sort Pool
          </query>
          <earliest>$earliestToken$</earliest>
          <latest>now</latest>
          <refresh>$searchRefreshToken$</refresh>
          <refreshType>$searchRefreshTypeToken$</refreshType>
        </search>
        <option name="count">20</option>
        <option name="dataOverlayMode">none</option>
        <option name="drilldown">none</option>
        <option name="percentagesRow">false</option>
        <option name="rowNumbers">false</option>
        <option name="totalsRow">false</option>
        <option name="wrap">true</option>
      </table>
    </panel>
  </row>
  <row>
    <panel>
      <table>
        <title>Mobility servers</title>
        <search>
          <query>sourcetype=nm_srv_status
               | dedup srv_pid 
               | table srv_name srv_state ses_count cpu_util mem_nonpgd mem_pgd net_util _time 
               | sort srv_name
               | `Rename_time_to_last_update`
               | `Rename_srv_name_to_server`
               | `Rename_srv_state_to_status`
               | `Rename_srv_count_to_connections`
               | `Rename_cpu_util_to_cpu`
               | `Rename_mem_nonpgd_to_nonpaged`
               | `Rename_mem_pgd_to_paged`
               | `Rename_net_util_to_network`
               | addcoltotals Connections labelfield=Server label="Total"
          </query>
          <earliest>$earliestToken$</earliest>
          <latest>now</latest>
          <refresh>$searchRefreshToken$</refresh>
          <refreshType>$searchRefreshTypeToken$</refreshType>
        </search>
        <option name="count">20</option>
        <option name="dataOverlayMode">none</option>
        <option name="drilldown">none</option>
        <option name="percentagesRow">false</option>
        <option name="rowNumbers">false</option>
        <option name="totalsRow">false</option>
        <option name="wrap">true</option>
        <format type="color" field="Status">
          <colorPalette type="map">{"Online":#65A637,"Offline":#F7BC38}</colorPalette>
        </format>
      </table>
    </panel>
  </row>
  <row>
       <!--Button displays fine, but onclick not working, bug in splunk. Not fixed in 7.0 -->
       <!--<html><button type="button" onclick="window.open('$mobilityConsoleUrl$', '_blank')">Mobility Console</button></html>-->
       <html><a href='$mobilityConsoleUrl$' target='_blank'>Mobility Console</a> (NOTE: link hardcoded to Genepool until getting this information into Mobile IQ)</html>
  </row>

  <row>
    <panel>
      <table>
        <title>Diagnostics server</title>
        <search>
          <query>sourcetype=nm_diag_srv_status
               | dedup srv_serial 
               | table srv_name srv_state ses_count cpu_util mem_avail d_count d_count_android d_count_ios d_count_win d_license_tot d_license_avail _time 
               | sort srv_name
               | `Rename_time_to_last_update`
               | `Rename_srv_name_to_server`
               | `Rename_srv_state_to_status`
               | `Rename_srv_count_to_connections`
               | `Rename_cpu_util_to_cpu`
               | `Rename_d_count_to_devices`
               | `Rename_d_count_android_to_devices_android`
               | `Rename_d_count_ios_to_devices_ios`
               | `Rename_d_count_mac_to_devices_mac`
               | `Rename_d_count_win_to_devices_windows`
               | `Rename_d_license_tot_to_device_licenses_total`
               | `Rename_d_license_avail_to_device_licenses_available`
               | rename mem_avail TO "Memory Available"               
          </query>
          <earliest>$earliestToken$</earliest>
          <latest>now</latest>
          <refresh>$searchRefreshToken$</refresh>
          <refreshType>$searchRefreshTypeToken$</refreshType>
        </search>
        <option name="count">20</option>
        <option name="dataOverlayMode">none</option>
        <option name="drilldown">none</option>
        <option name="percentagesRow">false</option>
        <option name="rowNumbers">false</option>
        <option name="totalsRow">false</option>
        <option name="wrap">true</option>
        <format type="color" field="Status">
          <colorPalette type="map">{"Online":#65A637,"Offline":#F7BC38}</colorPalette>
        </format>
      </table>
    </panel>
  </row>
  <row>
       <!--Button displays fine, but onclick not working, bug in splunk. Not fixed in 7.0 -->
       <!--<html><button type="button" onclick="window.open('$mobilityConsoleUrl$', '_blank')">Diagnostics Console</button></html>-->
       <html><a href='$diagnosticsConsoleUrl$' target='_blank'>Diagnostics Console</a> (NOTE: link hardcoded to Narwhal until getting this information into Mobile IQ)</html>
  </row>  

</dashboard>
0 Karma

Communicator

Hi @simpkins1958

Did you get "Export to PDF" button working fine ? as i am also facing the same issue.

0 Karma

Contributor

No we did not.

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!