Skip to content

Commit

Permalink
feat(cloudquery): Log to stdout as JSON
Browse files Browse the repository at this point in the history
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 <[email protected]>
Co-authored-by: NovemberTang <[email protected]>
Co-authored-by: nicl <[email protected]>
Co-authored-by: JuliaBrigitte <[email protected]>
  • Loading branch information
5 people committed Mar 31, 2023
1 parent dce5cb5 commit 47344b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/cloudquery/cloudquery.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
WantedBy=multi-user.target

0 comments on commit 47344b8

Please sign in to comment.