Hi team, to comply with central team's convention, we will update our CloudWatch LogGroup name for our service in tvlk-midas. Currently we have 2 type of log, system and service logs. System log is generated by ec2 instances (e.g: syslog, auth.log) and service log is generated by traveloka service either app or fe. New LogGroups name will be:
/tvlk/<role>-<application>/<service_name>/<service_env>/<log_file>
With:
e.g : /tvlk/app-java/mfmgmt/stg/application.log
/tvlk/global/<log_file>
With:
e.g : /tvlk/global/syslog
<instance-id>
<service_name>/<service_env>/<instance-id>
Service : /tvlk/app-java/mfmgmt/stg/application.log:i-43656
System : /tvlk/global/syslog:mfmgmt/stg/i-43656
Additional:
We also implemented daily scheduler function to export cloudwatch log with prefix /tvlk/
to s3 bucket, and we will set our cloudwatch log default retention become 14 days.
You can find exported log in cloudwatch-export-66d4a577792a8d6d
bucket.
Affected Accounts**: