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
Copy file name to clipboardExpand all lines: Monitoring/ingest_nas_audit_logs_into_cloudwatch/README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,6 +145,25 @@ see a log stream, check the Lambda function's configuration to ensure it is corr
145
145
output from the Lambda function. You should see log messages indicating that it is ingesting audit logs. If you see any "Errors" then you will
146
146
need to investigate and correct the issue. If you can't figure it out, please open an [issue](https://github.com/NetApp/FSx-ONTAP-samples-scripts/issues) in this repository.
147
147
148
+
### Add more FSx for ONTAP file systems.
149
+
The way the program is written, it will automatically discover all FSxN file systems within a region,
150
+
and then all the vservers under that FSxN. So, if you add another FSxN it will automatically attempt
151
+
to ingest the audit files from all the vservers under it. Unfortunate, it won't be able to, until
152
+
you provide a Secret ARN for that file system.
153
+
154
+
The best way to add a secret ARN, is to either update the secretARNs file you
155
+
initially passed to the CloudFormation script, that should be in the S3 bucket you specified in
156
+
the `s3BucketName` parameter, or create that file with the information for all the FSxN file systems
157
+
you want to ingest the audit logs from and then store it in the S3 bucket.
158
+
159
+
If you are creating the file for the first time, you'll also need to set the `fsxSecretARNsFile` environment variable
160
+
to point to the file. You can leave all the other parameters as they are, including the `fileSystem1ID`, `fileSystem1SecretARN`, etc. ones.
161
+
The program will ignore those parameters if the `fsxnSecretARNsFile` environment variable is set. To set
162
+
the environment variable, go to the Lambda function's configuration page and click on the "Configuration" tab. Then
163
+
click on the "Environment variables" sub tab. Click on the "Edit" button. The `fsxnSecretARNsFile`
164
+
environment variable should already be there, but the value should be blank. If the variable isn't there click on the
165
+
'add' button and add it. Once the line is there with the `fsxnSecretARNsFile` variable, set the value
0 commit comments