Skip to content

Commit 5116d68

Browse files
authored
Remove null delimiter from JTL
1 parent 83ca998 commit 5116d68

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/index.asciidoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ First, we need to configure your application to write JSON-formatted logs to a T
4646
<Appenders>
4747
<Socket name="SOCKET" host="localhost" port="12345"> <!--1-->
4848
<JsonTemplateLayout <!--2-->
49-
eventTemplateUri="classpath:EcsLayout.json" <!--3-->
50-
nullEventDelimiterEnabled="true"/> <!--4-->
49+
eventTemplateUri="classpath:EcsLayout.json"/> <!--3-->
5150
</Socket>
5251
</Appenders>
5352
<Loggers>
@@ -60,7 +59,6 @@ First, we need to configure your application to write JSON-formatted logs to a T
6059
<1> Using Socket Appender to write logs to a TCP socket – make sure to *change the `host` and `port` attributes* to match your setup
6160
<2> Using https://logging.apache.org/log4j/2.x/manual/json-template-layout.html[JSON Template Layout] to encode log events in JSON
6261
<3> Using the ECS (Elastic Common Schema) layout bundled with JSON Template Layout
63-
<4> Configuring that written log events should be terminated with a null (i.e., `\0`) character
6462

6563
To accept this in Logstash, you will want a TCP input:
6664

0 commit comments

Comments
 (0)