Skip to content

Commit 7048240

Browse files
committed
Added support to be able to specify the vserverName where the logs are stored.
1 parent f395620 commit 7048240

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Monitoring/ingest_nas_audit_logs_into_cloudwatch/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ Notes:
8888
| statsName | The name you want to use as the stats file. |
8989
| logGroupName | The name of the CloudWatch log group to ingest the audit logs into. |
9090
| volumeName | The name of the volume, on all the FSx for ONTAP file systems, where the audit logs are stored. |
91+
| vserverName | The name of the vserver, on all the FSx for ONTAP file systems, where the audit logs are stored. |
9192

9293
4. Test the Lambda function by clicking on the `Test` tab and then clicking on the `Test` button. You should see "Executing function: succeeded".
9394
If not, click on the "Details" button to see what errors there are.

Monitoring/ingest_nas_audit_logs_into_cloudwatch/ingest_audit_log.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
# all FSxNs.
5555
#volumeName = "audit_logs"
5656
#
57+
# The name of the vserver that holds the audit logs. Assumed to be the same on
58+
# all FSxNs.
59+
#vserverName = "fsx"
60+
#
5761
# The CloudWatch log group to store the audit logs in.
5862
#logGroupName = "/fsx/audit_logs"
5963

0 commit comments

Comments
 (0)