cool-father-45885
08/12/2021, 6:30 PMHello, I am interested in overriding the default log driver for the Batch job definition so that we can ingest logs from the Metaflow Batch jobs running in ECS into Datadog as opposed to Cloudwatch logs. How would I go about overriding the default job definition which Metaflow creates on my behalf when sending tasks to Batch job queues?
cool-father-45885
08/12/2021, 6:30 PMcool-father-45885
08/12/2021, 6:31 PMcool-father-45885
08/12/2021, 6:31 PMsquare-wire-39606
08/12/2021, 6:32 PMcool-father-45885
08/12/2021, 6:32 PMsquare-wire-39606
08/12/2021, 6:33 PMsquare-wire-39606
08/12/2021, 6:35 PM/aws/batch/job
log group and the log streams are prefixed by metaflow_
square-wire-39606
08/12/2021, 6:39 PMRun('MyFlow/42')['start'].task.metadata_dict['aws-batch-awslogs-stream']
Run('MyFlow/4')['start'].task.metadata_dict['aws-batch-awslogs-group']
square-wire-39606
08/12/2021, 6:41 PMforwarder
lambda - https://docs.datadoghq.com/serverless/libraries_integrations/forwarder/square-wire-39606
08/12/2021, 6:42 PMforwarder
for S3 may be a bit more involved.square-wire-39606
08/12/2021, 6:42 PMsquare-wire-39606
08/12/2021, 6:47 PMcool-father-45885
08/12/2021, 6:49 PMrapid-garden-26667
08/12/2021, 6:49 PMsquare-wire-39606
08/12/2021, 6:52 PMsquare-wire-39606
08/12/2021, 6:53 PMrapid-garden-26667
08/12/2021, 6:55 PMsquare-wire-39606
08/12/2021, 6:55 PMsquare-wire-39606
08/12/2021, 6:56 PMcool-father-45885
08/12/2021, 6:56 PMplain-baker-2104
10/26/2021, 2:30 PM