Skip to content

Commit 16ac230

Browse files
committed
Formatting changes.
1 parent 47dedc2 commit 16ac230

File tree

1 file changed

+5
-5
lines changed
  • Monitoring/ingest_nas_audit_logs_into_cloudwatch

1 file changed

+5
-5
lines changed

Monitoring/ingest_nas_audit_logs_into_cloudwatch/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,21 @@ systems that you want to ingest the audit logs from.
4747
1. Downloading the `ingest_fsx_audit_logs.py` file from this repository and placing it in an empty directory.
4848
1. Rename the file to `lambda_function.py`.
4949
1. Install a couple dependencies that aren't included with AWS's base Lambda deployment by running the following command:<br>
50-
` pip install --target . xmltodict requests_toolbelt`<br>
50+
`pip install --target . xmltodict requests_toolbelt`<br>
5151
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>
5353

5454
2. Create the Lambda function with:
5555
1. Python 3.10, or higher, as the runtime.
5656
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.
5858
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.
6060
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.
6161

6262
| Variable | Description |
6363
| --- | --- |
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. |
6565
| secretRegion | The region where the secret is stored. |
6666
| s3BucketRegion | The region of the S3 bucket where stats file is stored. |
6767
| s3BucketName | The name of the S3 bucket where the stats are stored. |

0 commit comments

Comments
 (0)