AppD Archive

Marking a node historical through the REST API returns XML no matter what

CommunityUser
Splunk Employee
Splunk Employee

Hi,

We have a very dynamic environment with servers being switched in and out regularly so I've been working on automating the removal of nodes.

The other REST calls return JSON if I specify it in the url parameter but this one always returns XML. Is there a way to get this to return JSON?

This is the URL I've used. It marks the nodes as historical but returns XML regardless of if I include the output param or not.

POST https://<account>.saas.appdynamics.com/controller/rest/mark-nodes-historical?application-component-node-ids=<ids>&output=JSON

0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...