Updates an audit log redirect configuration
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
related ontap commands
-
vserver audit audit-log-redirect modify
# learn more -
[
doc /private/protocols/audit/audit-log-redirect
](#docs-nas-private_protocols_audit_audit-log-redirect)
PATCH /private/protocols/audit/audit-log-redirect
Introduced In: 9.8
Updates an Audit Log Redirect configuration.
Required properties
-
svm.uuid
orsvm.name
- Existing SVM to which NAS audit events logs will be redirected to.
Related ONTAP commands
-
vserver audit audit-log-redirect modify
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
return_records |
boolean |
query |
False |
The default is false. If set to true, the records are returned.
|
Request Body
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
Error Code | Description |
---|---|
9699478 |
Audit Log Redirect configuration already exists. |
9699480 |
Failed to modify Audit Log Redirect configuration. |
9699481 |
Failed to modify Audit Log Redirect configuration because it does not exist. |
9699483 |
Audit Log Redirect configuration not available. |
9699484 |
Failed to modify Audit Log Redirect configuration because all SVMs audit configuration must be deleted first. |
9699486 |
Audit Log Redirect feature is not available in maintenance mode. |
9699487 |
Node is not part of a cluster. |
9699488 |
SVM does not exist. |
9699489 |
Audit Log Redirect configuration only supported on Data SVM. |
Name | Type | Description |
---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
href
Name | Type | Description |
---|---|---|
href |
string |
_links
Name | Type | Description |
---|---|---|
self |
svm
Name | Type | Description |
---|---|---|
_links |
||
name |
string |
The name of the SVM. |
uuid |
string |
The unique identifier of the SVM. |
audit_log_redirect
Name | Type | Description |
---|---|---|
_links |
||
svm |
error_arguments
Name | Type | Description |
---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
error
Name | Type | Description |
---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |