From 47344b8a9d1721d305ca94ae8da0c3eb5807f874 Mon Sep 17 00:00:00 2001 From: akash1810 Date: Fri, 31 Mar 2023 14:40:08 +0100 Subject: [PATCH] feat(cloudquery): Log to stdout as JSON This should allow us to utilise fluentbit (via devx-logs) to ship logs to Central ELK. This is because devx-logs configures fluentbit to forward JSON log lines to the ELK Kinesis stream. See https://github.com/guardian/devx-logs. Co-authored-by: TJ Silver Co-authored-by: NovemberTang Co-authored-by: nicl Co-authored-by: JuliaBrigitte --- config/cloudquery/cloudquery.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/cloudquery/cloudquery.service b/config/cloudquery/cloudquery.service index d9675dd93..a66c6c060 100644 --- a/config/cloudquery/cloudquery.service +++ b/config/cloudquery/cloudquery.service @@ -2,7 +2,7 @@ Description=CloudQuery [Service] -ExecStart=/cloudquery sync /aws.yaml /postgresql.yaml +ExecStart=/cloudquery sync --log-format json --log-console /aws.yaml /postgresql.yaml [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target