I have two EFS entities. I have created a log group inside CloudWatch but still empty (no stream). How do I relay all EFS logs into the log group? The ultimate goal is to monitor the logs especially when throughput % goes high.
I have tried the following command but failed:
aws efs update-file-system --file-system-id <ID> --logging-configuration '{"FileAccessLogDestination": <log group ID>, "FileAccessLogDestinationType":"CloudWatchLogs", "FileAccessLogFormat":"TEXT"}'
aws efs update-file-system --file-system-id <ID> --logging-configuration '{"FileAccessLogDestination": <log group ID>, "FileAccessLogDestinationType":"CloudWatchLogs", "FileAccessLogFormat":"TEXT"}'