Skip to content

Special characters not supported in delimiter of json_lines codec #36

@conet

Description

@conet

According to the documentation of json_lines codec plugin 2 the default value of the delimiter option is newline (\n). However, when \n (or other unicode/special character like \x00) is explicitly defined in the input configuration of Logstash, it is considered to be a string containing of two characters:\ and n.

See this thread:
https://discuss.elastic.co/t/special-characters-not-supported-in-delimiter-of-json-lines-codec/114560

I encountered this around 5.2 and was surprised to see that it is still an issue in 6.4.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions