This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-28
Channels
- # announcements (5)
- # aws (16)
- # beginners (62)
- # calva (2)
- # cljdoc (17)
- # cljs-dev (2)
- # clojure (89)
- # clojure-brasil (1)
- # clojure-europe (3)
- # clojure-italy (12)
- # clojure-nl (1)
- # clojure-russia (2)
- # clojure-spec (10)
- # clojure-uk (26)
- # clojurescript (45)
- # cursive (4)
- # data-science (6)
- # datavis (1)
- # datomic (15)
- # duct (5)
- # fulcro (55)
- # juxt (1)
- # kaocha (2)
- # leiningen (1)
- # off-topic (101)
- # pathom (12)
- # portkey (4)
- # quil (5)
- # re-frame (9)
- # reagent (2)
- # reitit (28)
- # shadow-cljs (114)
- # spacemacs (9)
- # speculative (2)
- # sql (3)
- # test-check (18)
Hey everyone, I hope you are well! We are writing a Clojure app which will run in an AWS container. We would like to be able to write logs from Clojure into Cloudwatch so we can get to all the logs from one place. I have been reading the AWS documentation and I am not seeing any way of doing this effectively. Could someone point me in the right direction?
@deanjohnson03 https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html ?
Here's Go tool that pushes logs to CloudWatch for the reference: https://github.com/boxfuse/cloudwatchlogs-agent
@dottedmag Thank you, I will check out the links you sent me 🙂
If you run in ECS, you can use the awslogs docker log driver and stdout/stderr will be shipped to Cloudwatch
probably good to let someone else than your app to take care of shipping logs to the Cloudwatch service
@deanjohnson03 are you using normal ECS or Fargate?