Logo
MicroStrategy REST API API Documentation

Update the log destinations of IServer

PUT {{baseUrl}}/api/iserver/logging/destinations?nodeName={{clusterNodeName}}

Update the log destinations of IServer

 

Body PARAM

Key Datatype Required Description 
nodeName
string (Required) Node Name
fields
null Comma-separated, top-level field whitelist that allows the client to selectively retrieve part of the response model. If specified, extra filtering is applied, and for top-level object (if root model is an array, each array element), only the listed fields are kept in the response. For example, "id,elements" keeps only the "id" field and whole "elements" array field, omitting all other fields in the top-level response model.



HEADERS

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required) Authorization token
Content-Type
string




RESPONSES

status OK




Curl
curl -X PUT 'baseUrl/api/iserver/logging/destinations?nodeName=clusterNodeName?nodeName=clusterNodeName&fields=' -H 'X-MSTR-AuthToken: authToken' -H 'Content-Type: application/json' -d '{"logDestinations":[{"fileName":"ServerControl","maxSize":2048,"type":"diagnostics"},{"fileName":"Query_Merge","maxSize":200,"type":"diagnostics"},{"fileName":"MigrationSQL","maxSize":51200,"type":"diagnostics"},{"fileName":"MetadataObjectTelemetry","maxSize":2048,"type":"diagnostics"},{"fileName":"LicenseSummary","maxSize":4000,"type":"diagnostics"},{"fileName":"DSSPerformanceMonitor","maxSize":2000,"type":"performance"},{"fileName":"DSSErrors","maxSize":204800,"type":"diagnostics"},{"fileName":"DSSCap","maxSize":2048,"type":"diagnostics"},{"fileName":"BlockedURL","maxSize":2048,"type":"diagnostics"}]}'

ENDPOINTS