You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Zip the contents of the directory into a zip file.<br>
52
-
`zip -r ingest_fsx_audit_logs.zip .`<br>
52
+
`zip -r ingest_fsx_audit_logs.zip .`<br>
53
53
54
54
2. Create the Lambda function with:
55
55
1. Python 3.10, or higher, as the runtime.
56
56
1. Set the permissions to the role created above.
57
-
1. Under `Additional Configurations` select `Enable VPC` and select a VPC and Subnet that will have access to all the FSxN cluster management endpoints that you want to gather audit logs from.
57
+
1. Under `Additional Configurations` select `Enable VPC` and select a VPC and Subnet that will have access to all the FSx for ONtAP file system management endpoints that you want to gather audit logs from.
58
58
1. Click `Create Function` and on the next page, under the `Code` tab, select `Upload From -> .zip file.` Provide the .zip file created by the steps above.
59
-
1. From the `Configuration -> General` tab set the timeout to at least 30 seconds. You will may need to increase that if it has to process a lot of audit entries and/or process a lot of FSxN file systems.
59
+
1. From the `Configuration -> General` tab set the timeout to at least 30 seconds. You will may need to increase that if it has to process a lot of audit entries and/or process a lot of FSx for ONTAP file systems.
60
60
3. Configure the Lambda function by setting the following environment variables. For a Lambda function you do this by clicking on the `Configuration` tab and then the `Environment variables` section.
61
61
62
62
| Variable | Description |
63
63
| --- | --- |
64
-
| secretArn | The ARN of the secret that contains the credentials to access the FSx for Data ONTAP file system. |
64
+
| secretArn | The ARN of the secret that contains the credentials for all the FSx for ONTAP file systems you want to gather audit logs from. |
65
65
| secretRegion | The region where the secret is stored. |
66
66
| s3BucketRegion | The region of the S3 bucket where stats file is stored. |
67
67
| s3BucketName | The name of the S3 bucket where the stats are stored. |
0 commit comments