logback-redis-appender icon indicating copy to clipboard operation
logback-redis-appender copied to clipboard

Ability of setting up cluster of kibana servers

Open icehockeystar opened this issue 8 years ago • 1 comments

Hi, we faced the problem, that we have a cluster of Kibana servers and yesterday the master changed. In the logback.xml we had:

<appender name="LOGSTASH" class="com.cwbase.logback.RedisAppender">
   <host>redis-01</host>
   <port>6379</port>
   <key>***</key>
   <type>****</type>
   <tags>****</tags>
   <sourceHost>${HOSTNAME}</sourceHost>
</appender>

now the master is redis-02 and the logs could not be written in redis-01 anymore . It would be helpful to be able to set up the cluster of servers.

icehockeystar avatar Nov 10 '16 11:11 icehockeystar

if you have the same problem consider using https://github.com/idealo/logback-redis

icehockeystar avatar Nov 21 '16 12:11 icehockeystar