Skip to content

LogstashUdpSocketAppender with prefix not working #723

Answered by brenuart
nikosmoum asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Nikos,

Thanks for the feedback. You are right, the documentation is very poor on this subject if not confusing.
As you noticed, the LogstashSocketAppender has been removed in 6.0 and the documentation isn't clear since then. In addition, the behaviour of its replacement components is slightly different which makes the transition even more tricky - sorry about that.

To start, here is a configuration that should (hopefully) produce the same results as before:

    <conversionRule conversionWord="syslogStart" converterClass="ch.qos.logback.classic.pattern.SyslogStartConverter"/>

    <appender name="SyslogAppender" class="net.logstash.logback.appender.LogstashUdpSocketAppender">
        <h…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@nikosmoum
Comment options

Answer selected by nikosmoum
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants