Skip to content

An equivalent to logstash-logback-encoder for log4j2, which aims to provide (at the moment) an MVP using common fields.

Notifications You must be signed in to change notification settings

alexswilliams/logstash-log4j2-encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Maven Central

Logstash Log4j2 Encoder

This library contains a log4j2 layout to format log lines according to the logstash JSON spec.

How to use

Include in your project as follows:

<dependencies>
    <dependency>
        <groupId>io.github.alexswilliams</groupId>
        <artifactId>logstash-log4j2-encoder</artifactId>
    </dependency>
</dependencies>

Dependency Requirements

The minimum supported JDK is 1.8.

The minimum supported SLF4J is 2.0.0.

About

An equivalent to logstash-logback-encoder for log4j2, which aims to provide (at the moment) an MVP using common fields.

Resources

Stars

Watchers

Forks

Packages

No packages published