Each log group can be assigned a custom name, retention policy, and linked to a specific service using its
service_id
. The enabled
flag allows you to control whether the log group is active upon creation.Typical Use Cases:
- Set up log grouping for new cloud functions, microservices, or components
- Enable organized log collection for specific environments (e.g., production vs staging)
- Configure log retention policy per group