Splunk AppDynamics

Import Dashboard via API and Overwrite Existing Dashboard

Harrison_Clark
Explorer

I had an idea to have some of the scripts my Ops team uses to update some of our dashboards. I'm testing this idea by exporting a test dashboard via the REST API, making some changes, and reuploading it. I'm doing this all in Powershell.

One thing I noticed is that when it is uploaded again with the same name, it doesn't overwrite the dashboard but instead creates a new one with "_1" appended.

Is there anyway around this so a new dashboard isn't created, but instead the exisiting one is just updated with the new config?

Labels (1)

Nawaz_Ali_Moha1
Contributor

Hello Harrison,

Unfortunately as of now, overwriting an existing dashboard is not possible. However, an enhancement is filed internally to support this in future releases.

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!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...