Skip to content

Commit bc774c6

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Monitoring/ingest_nas_audit_logs_into_cloudwatch/ingest_audit_log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def lambda_handler(event, context):
343343
if response.status == 200:
344344
data = json.loads(response.data.decode('utf-8'))
345345
if data['num_records'] > 0:
346-
volumeUUID = data['records'][0]['uuid'] # Since we specified the volume name, there should only be one record.
346+
volumeUUID = data['records'][0]['uuid'] # Since we specified the volume, and vserver name, there should only be one record.
347347

348348
if volumeUUID == None:
349349
print(f"Volume {config['volumeName']} not found for {fsId}.")

0 commit comments

Comments
 (0)