Dashboards & Visualizations

How to upload files to Splunk server to use in dashboard source xml code?

ChasingCode
Engager

Hi there,

I have about 20 dashboards with many common features and code fragments. They are have the same checkboxes, and so on... how can I upload some files to Splunk, so that I can extract these repeated bits of code and store them in a file and just call that file in all the dashboards and only code the unique parts of that dashboard in its source xml code? 

Thanks,

Labels (3)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You can create pre-built panels which you can then add to your dashboards.

0 Karma

ChasingCode
Engager

Could you please elaborate on that? just to be clear, I want to save my "fieldset" in a file and just include the path in my XML source, just so the XML source is not a massive file. Is this possible?

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

That's not possible in the way you are describing (afaik)

0 Karma

SinghK
Builder

You should be able to club them in to a app and then export that app with all dashboards. else you will have to check which app the dashboards are in and then export them from backend.

0 Karma

ChasingCode
Engager

Sorry I am not sure if I follow. Is that really required? is there no simple way to upload a file to splunk and simply "call/include" the content of it in the source?

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...