Skip to content

Ingest node date processor uses stale year information on calendar year change #22547

@pprkut

Description

@pprkut

Elasticsearch version:
5.1.1

JVM version:
1.8.0.111

OS version:
CentOS 7.3

Description of the problem including expected versus actual behavior:

I'm feeding /var/log/secure to elasticsearch, using filebeat and ingest node. This worked fine before the new year, but then I noticed entries appearing with a one year old timestamp.
Turns out, the date processor was parsing the date string "Jan 2 23:59:48" as "2016-01-02T23:59:48.000Z". Restarting elasticsearch caused new entries to get the correct year information.

More info available here.
Possibly related to logstash-plugins/logstash-filter-date#3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions