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
d. Zip the contents of the directory into a zip file.
53
+
1. Zip the contents of the directory into a zip file.
54
54
```bash
55
55
zip -r ingest_fsx_audit_logs.zip .
56
56
```
57
57
2. Create the Lambda function with:
58
-
a. Python 3.10, or higher, as the runtime.
59
-
b. Set the permissions to the role created above.
60
-
c. 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.
61
-
d. 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.
62
-
e. 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.
58
+
1. Python 3.10, or higher, as the runtime.
59
+
1. Set the permissions to the role created above.
60
+
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.
61
+
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.
62
+
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.
63
63
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.
0 commit comments