Use logstash as logging destination

This commit is contained in:
2025-09-14 01:58:53 +05:00
parent b3fc30e9ca
commit b97e812987
4 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<configuration>
<appender name="LOGSTASH" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
<destination>logstash:5044</destination>
<encoder class="net.logstash.logback.encoder.LogstashEncoder" />
</appender>
<root level="INFO">
<appender-ref ref="LOGSTASH" />
</root>
</configuration>