Reporting

remove scrollbar

yj0527
Loves-to-Learn Lots

When I download dashboard by PDF or PNG, scrollbar is showing although it doesn't appear in the dashboard page like below picture. (dashboard type is Dashboard Studio)

questions.png

 

How can I solve it?

Labels (1)
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@yj0527 

Can you please share sample dashboard XML and Splunk version ?

KV

0 Karma

yj0527
Loves-to-Learn Lots

splunk version = 8.2.1

I think there is no XML because the dashboard type is Dashboard Studio. 

If I am wrong, where can I find dashboard xml ?

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@yj0527 

You can find the XML in same place.

splunk/etc/apps/your_app/local/data/ui/views/

 

I tried to reproduce the issue but no luck. Can you please share steps to reproduce?

Are you able to reproduce the issue with new dashboard also?

This is downloaded PNG file from my instance.

 

Sample Dashboard Studio_2021-08-05 at 10.51.33+0530_Splunk.png

 KV

 

0 Karma

yj0527
Loves-to-Learn Lots

there is xml code below.


<dashboard version="2" theme="light">
<label>Dashboard example</label>
<description></description>
<definition>
<![CDATA[{
"visualizations": {
"viz_2A5srF82": {
"type": "viz.pie",
"dataSources": {
"primary": "ds_l0B8uu8y"
},
"options": {
"chart.showLabels": false
}
},
"viz_YWCuaFHT": {
"type": "viz.pie",
"dataSources": {
"primary": "ds_532sOOCK"
},
"options": {
"chart.showLabels": false
}
},
"viz_n327J8Fi": {
"type": "splunk.table",
"dataSources": {
"primary": "ds_IuVwbCSd"
},
"options": {
"count": 14,
"headerVisibility": "fixed"
}
},
"viz_oZWOQFPg": {
"type": "viz.line",
"dataSources": {
"primary": "ds_yt2pXYLD"
},
"options": {
"legend.placement": "none",
"chart.showDataLabels": "all"
}
},
"viz_tKTE9NXg": {
"type": "splunk.table",
"dataSources": {
"primary": "ds_3ZmDAmnq"
},
"options": {
"count": 5,
"headerVisibility": "fixed"
}
},
"viz_HEcFyl4Q": {
"type": "viz.line",
"dataSources": {
"primary": "ds_s4d57KyZ"
},
"options": {
"chart.showDataLabels": "all",
"legend.placement": "none"
}
}
},
"dataSources": {
--SKIP--
},
"defaults": {
"dataSources": {
"ds.search": {
"options": {
"queryParameters": {
"latest": "$global_time.latest$",
"earliest": "$global_time.earliest$"
}
}
}
}
},
"inputs": {
"input_global_trp": {
"type": "input.timerange",
"options": {
"token": "global_time",
"defaultValue": "-24h@h,now"
},
"title": "Time Range"
}
},
"layout": {
"type": "absolute",
"options": {
"display": "auto-scale"
},
"structure": [
{
"item": "viz_2A5srF82",
"type": "block",
"position": {
"x": 0,
"y": 0,
"w": 620,
"h": 350
}
},
{
"item": "viz_YWCuaFHT",
"type": "block",
"position": {
"x": 610,
"y": 0,
"w": 590,
"h": 350
}
},
{
"item": "viz_n327J8Fi",
"type": "block",
"position": {
"x": 0,
"y": 350,
"w": 570,
"h": 550
}
},
{
"item": "viz_oZWOQFPg",
"type": "block",
"position": {
"x": 570,
"y": 530,
"w": 630,
"h": 200
}
},
{
"item": "viz_tKTE9NXg",
"type": "block",
"position": {
"x": 570,
"y": 350,
"w": 630,
"h": 180
}
},
{
"item": "viz_HEcFyl4Q",
"type": "block",
"position": {
"x": 570,
"y": 720,
"w": 630,
"h": 180
}
}
],
"globalInputs": [
"input_global_trp"
]
},
"description": "",
"title": "Dashboard example"
}]]>
</definition>
<assets><![CDATA[{}]]></assets>
</dashboard>

 

In my case,  there are several charts in the dashboard like that pic below.

yj0527_0-1628209828092.png

 

0 Karma

sanurd
Path Finder
Hi There, Just wondering if you were able to solve this issue. I have a similar issue, please refer to this post https://community.splunk.com/t5/Splunk-Search/How-to-Remove-the-horizontal-scrollbar-in-PDF-download... Thanks in advance, regards
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Splunk Enterprise Security: An Automated Phishing Response Workflow

Originally posted on Splunk.com.   Key takeaways  The volume of phishing emails can overwhelm even the most ...

Sharper ES Detections, Agentic AI Integrations, Smarter Workload Management, and More ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Data Outage Monitoring and Reporting

We’ve all been there, right? Living our best life, working on our Splunk environment, when out of nowhere a ...