Skip to content

Commit 657078f

Browse files
committed
Formatting changes.
1 parent 737476c commit 657078f

File tree

1 file changed

+9
-9
lines changed
  • Monitoring/ingest_nas_audit_logs_into_cloudwatch

1 file changed

+9
-9
lines changed

Monitoring/ingest_nas_audit_logs_into_cloudwatch/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ systems that you want to ingest the audit logs from.
4444

4545
## Deployment
4646
1. Create a Lambda deployment package by:
47-
1. Downloading the `ingest_fsx_audit_logs.py` file from this repository and placing it in an empty directory.
48-
1. Rename the file to `lambda_function.py`.
49-
1. Install a couple dependencies that aren't included with AWS's base Lambda deployment by running the following command:
47+
1. Downloading the `ingest_fsx_audit_logs.py` file from this repository and placing it in an empty directory.
48+
1. Rename the file to `lambda_function.py`.
49+
1. Install a couple dependencies that aren't included with AWS's base Lambda deployment by running the following command:
5050
```bash
5151
pip install --target . xmltodict requests_toolbelt
5252
```
53-
1. Zip the contents of the directory into a zip file.
53+
1. Zip the contents of the directory into a zip file.
5454
```bash
5555
zip -r ingest_fsx_audit_logs.zip .
5656
```
5757
2. Create the Lambda function with:
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.
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.
6363
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.
6464

6565
| Variable | Description |

0 commit comments

Comments
 (0)