This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-24
Channels
- # announcements (8)
- # aws (12)
- # babashka (84)
- # beginners (380)
- # calva (56)
- # clj-kondo (52)
- # cljdoc (4)
- # cljs-dev (327)
- # cljsrn (4)
- # clojure (154)
- # clojure-italy (5)
- # clojure-nl (3)
- # clojure-uk (21)
- # clojurescript (52)
- # conjure (133)
- # cursive (64)
- # datomic (33)
- # emacs (22)
- # fulcro (35)
- # graalvm (24)
- # graphql (1)
- # kaocha (1)
- # leiningen (1)
- # off-topic (24)
- # onyx (2)
- # pathom (10)
- # re-frame (3)
- # reagent (3)
- # reitit (3)
- # shadow-cljs (48)
- # spacemacs (12)
- # tools-deps (98)
- # xtdb (7)
What are the options for logging clojure into aws? logback appender to s3? logback appender to cloudwatch?
docker log driver will then push stdout/stderr to cloudwatch, cloudwatch parses the json even
@viesti I'm running in EC2
and I can't change that (there is no c5
class in ECS)
I'm right that I want something like a appender to cloudwatch service. but still looking for possible implementations
hmm, if you can install cloudwatch agent (or Fluentbit) to the machine, then you could log to a file and let the agent tail it and push to CloudWatch
seems that there are multiple logback appenders for cloudwatch (google brought up com.j256.cloudwatchlogbackappender/cloudwatchlogbackappender for example), I haven't used them but they might also be of use
extra log shipping agent might sound a bit much, but then again, that puts the error handling of pushing logs to a remote service, out from the JVM of the application
on ECS, I'd think that just running the ECS agent and configuring the cluster it checks into should make the box available to ECS, but yeah, there's more to it if the application isn't on docker (and might be more stuff I don't know about)
Amazon is doing something for Elastic Beanstalk, I think installing the cloud watch agent?