Logstash Encoder for Log4j2

Encoder for JSON-formatted logging, compatible with logstash and fluent, similar to the logstash-logback-encoder project

License

License

Categories

Categories

Logstash Application Layer Libs Logging
GroupId

GroupId

io.github.alexswilliams
ArtifactId

ArtifactId

logstash-log4j2-encoder
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

Logstash Encoder for Log4j2
Encoder for JSON-formatted logging, compatible with logstash and fluent, similar to the logstash-logback-encoder project
Project URL

Project URL

https://github.com/alexswilliams/logstash-log4j2-encoder
Source Code Management

Source Code Management

https://github.com/alexswilliams/logstash-log4j2-encoder/tree/master

Download logstash-log4j2-encoder

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.alexswilliams/logstash-log4j2-encoder/ -->
<dependency>
    <groupId>io.github.alexswilliams</groupId>
    <artifactId>logstash-log4j2-encoder</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.alexswilliams/logstash-log4j2-encoder/
implementation 'io.github.alexswilliams:logstash-log4j2-encoder:1.0.4'
// https://jarcasting.com/artifacts/io.github.alexswilliams/logstash-log4j2-encoder/
implementation ("io.github.alexswilliams:logstash-log4j2-encoder:1.0.4")
'io.github.alexswilliams:logstash-log4j2-encoder:jar:1.0.4'
<dependency org="io.github.alexswilliams" name="logstash-log4j2-encoder" rev="1.0.4">
  <artifact name="logstash-log4j2-encoder" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.alexswilliams', module='logstash-log4j2-encoder', version='1.0.4')
)
libraryDependencies += "io.github.alexswilliams" % "logstash-log4j2-encoder" % "1.0.4"
[io.github.alexswilliams/logstash-log4j2-encoder "1.0.4"]

Dependencies

compile (4)

Group / Artifact Type Version
com.fasterxml.jackson.core : jackson-databind jar 2.13.1
org.apache.logging.log4j : log4j-core jar 2.17.1
org.slf4j : slf4j-api jar 1.7.36
org.jetbrains : annotations Optional jar 23.0.0

test (3)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter jar 5.8.2
org.apache.logging.log4j : log4j-slf4j-impl jar 2.17.1
org.mockito : mockito-core jar 4.3.1

Project Modules

There are no modules declared in this project.

Versions

Version
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.0.3
0.0.2
0.0.1