Logstash overrides input tcp codec from JSON to JSON_Lines

My config file:

input {
    tcp {
        port => 5044
        codec => json
    }
}

Everytime I run logstash, I get the following in my startup logs:

[INFO ][logstash.inputs.tcp ] Automatically switching from json to json_lines codec {:plugin=>"tcp"}

Is there something wrong in my config file which tells Logstash to override my codec choice and use a different codec? I'm running Logstash in a Docker container using Logstash V7.1.0

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.