All Apps and Add-ons

CSS File Upload - Splunk Cloud

dinesh001kumar
Explorer

I need to upload CSS and HTML file on Splunk Cloud, Please help me with the steps to upload and use it in Dashboard customise. Since there is no option for upload asset in Splunk Cloud.

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @dinesh001kumar ,

the only way is to put them in an app or an add-on and submit them to upload.

If there isn't any issue you can upload it.

Otherwise you could ask this to Splunk Cloud Support, but I'm not sure that they will do.

Ciao.

Giuseppe

0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @dinesh001kumar 

You can add files into an app and then package this to be uploaded to Splunk Cloud - it isnt possible to upload CSS/HTML via the UI in Splunk Cloud.

Create an app and add the required files to <APP NAME>/appserver/static/ so that they are then accessible within the app.

Have a look at https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/UseCSS#Customize_styling_and_behavio... for more info on using CSS too.

Please let me know how you get on and consider accepting this answer or adding karma this answer if it has helped.
Regards

Will

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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...