# \[Quarkus\] Integrate Graylog Logging

**URL:** <https://forum.keycloak.org/t/quarkus-integrate-graylog-logging/15153>\
**Category:** Configuring the server\
**Created:** [April 25, 2022, 12:42pm UTC](https://forum.keycloak.org/t/quarkus-integrate-graylog-logging/15153 "2022-04-25T12:42:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![klr](https://avatars.discourse-cdn.com/v4/letter/k/dec6dc/32.png) [@klr](https://forum.keycloak.org/u/klr)\
**Post date:** [April 25, 2022, 12:42pm UTC](https://forum.keycloak.org/t/quarkus-integrate-graylog-logging/15153/1 "2022-04-25T12:42:08Z")

</div>

Hey,  
I’m currently trying to switch from the jboss version to the quarkus build. But I’m struggling with the logging configuration.  
I want to have my logs exported to a graylog instance and currently use the graylog jboss module: [Logstash/Gelf Loggers – JBoss AS7 (paluch.biz)](http://logging.paluch.biz/examples/jbossas7.html)

How can I achieve the same with the quarkus engine? I already found a quarkus module here: [Maven Repository: io.quarkus » quarkus-logging-gelf » 2.8.1.Final (mvnrepository.com)](https://mvnrepository.com/artifact/io.quarkus/quarkus-logging-gelf/2.8.1.Final) but I’m not sure how to integrate this into keycloak.

---

<div class="post-metadata">

**Author:** ![klr](https://avatars.discourse-cdn.com/v4/letter/k/dec6dc/32.png) [@klr](https://forum.keycloak.org/u/klr)\
**Post date:** [April 27, 2022, 1:50pm UTC](https://forum.keycloak.org/t/quarkus-integrate-graylog-logging/15153/2 "2022-04-27T13:50:19Z")

</div>

FYI: If anyone else is trying this. This helped me to achieve it:

> **[\[KC17\] \[Logging\] Running Keycloak as a container: how to send logs to logstash...](https://github.com/keycloak/keycloak/discussions/10884#discussioncomment-2468470)**
>
> Hello, We are running KeyCloak as a containers' cluster for a while on Docker Swarm. For some reasons we need to send our logs to ELK through logstash. With previous version this was possible with ...
