Creates 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 create
# learn more -
[
doc /private/protocols/audit/audit-log-redirect
](#docs-nas-private_protocols_audit_audit-log-redirect)
POST /private/protocols/audit/audit-log-redirect
Introduced In: 9.8
Creates 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 create
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
Error
Status: Default
ONTAP Error Response Codes
Error Code | Description |
---|---|
9699478 |
Audit Log Redirect configuration already exists. |
9699479 |
Failed to create Audit Log Redirect configuration. |
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. |