How to setup logstash not using gelf

116 views
Skip to first unread message

Yuqian Liu

unread,
Feb 10, 2023, 1:22:15 PM2/10/23
to dcm4che
Hi, 

I am running dcm4che in redhat with podman. The gelf driver is not supported. Can I change keycloak to use other log driver? This should be the error of 
 I tried set up log driver as followed in yml and got error of https://groups.google.com/g/dcm4che/c/uE3ahKsr31w


err from keycloak/log/keycloak.log:
Initiate connection from /0.0.0.0:0 to logstash:8514 2023-02-10 11:43:52,578 WARN [org.dcm4che3.audit.keycloak.AuditUtils] (executor-thread-16) Failed to emit audit message: java.net.ConnectException: Connection refused (Connection refused)

keycloak setups in compose.yml:
logging:
      driver: json-file
      options:
        tag: keycloak
    ports:
      - "8843:8843"
    env_file: podman-compose.env
    environment:
      KC_HTTPS_PORT: 8843
      GELF_ENABLED: "false"
      LOGSTASH_HOST: logstash

Thanks
Yuqian

Reply all
Reply to author
Forward
0 new messages