I configured logstash to updload to s3. When I check the files on s3, they are full of entries like this:
2016-05-09T23:27:31.811Z %{host} %{message}
2016-05-09T23:27:31.811Z %{host} %{message}
2016-05-09T23:27:31.809Z %{host} %{message}
2016-05-09T23:27:31.810Z %{host} %{message}
2016-05-09T23:27:31.827Z %{host} %{message}
2016-05-09T23:27:31.828Z %{host} %{message}
how to debug what's creating such messages? How to remove them?
When I change the output from s3 to "file" I don't see those messages in the output file
I don't offer private support so please try to find a way to obfuscate the confidential parts. But anyway, you're using the default plain codec for the s3 output. You'll want to use json_lines instead or possibly some other codec that produces logs in a format that keeps all fields.
Well, not everyone wants JSON logs. Having it default to the plain codec maybe wasn't the wisest decision when the plugin was introduced, but changing that default now would be somewhat painful.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.