Splunk Dev

Splunk api for updating dashboard content

sansmish
Engager

I want to retrieve ,update or delete service codes on Splunk dashboard so that I can use the same format of dashboard for any service by just changing service numbers.Has Splunk provided any apis to retrieve update or delete Splunk dashboard content?

Labels (1)
Tags (1)
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@sansmish 

Yes. Please go through below for same,

https://docs.splunk.com/Documentation/Splunk/8.2.0/RESTREF/RESTknowledge#data.2Fui.2Fviews

Test the api using below curl command.

curl -ku admin:changeme https://localhost:8089/servicesNS/admin/search/data/ui/views/ -d 'name=newdash' -d 'eai:data=<put your xml here>'

 

Thanks
KV
▄︻̷̿┻̿═━一

If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated. 

Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...