Skip to content
This repository was archived by the owner on May 17, 2019. It is now read-only.
This repository was archived by the owner on May 17, 2019. It is now read-only.

JSON Parser implementation and documentation mismatch #596

@taraspos

Description

@taraspos

Hello,
I faced unexpected behavior from fluentd JSON parser, because of the parse documentation and actual implementation of JSON parser differs.

Long story short, fluentd picked event time from json key time, when I expected it to use the current time:

Documentation says:

time_key (string) (optional): Specify time field for event time. If the event doesn’t have this field, current time is used.

  • Default: nil

Implementation says:

config_set_default :time_key, 'time'

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