4j2.log4j2-logstash-layout.1.0.3.source-code.LogstashJsonEventLayoutV1.json Maven / Gradle / Ivy
{
"mdc": "${json:mdc}",
"exception": {
"exception_class": "${json:exception:className}",
"exception_message": "${json:exception:message}",
"stacktrace": "${json:exception:stackTrace:text}"
},
"line_number": "${json:source:lineNumber}",
"class": "${json:source:className}",
"@version": 1,
"source_host": "${hostName}",
"message": "${json:message}",
"thread_name": "${json:thread:name}",
"@timestamp": "${json:timestamp}",
"level": "${json:level}",
"file": "${json:source:fileName}",
"method": "${json:source:methodName}",
"logger_name": "${json:logger:name}"
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy