Weekday parsing using locale not working


(Bernhard Friedreich) #1

Hi,

I'm trying to parse a timestamp containing a weekday using logstash 6.2.2.

German weekday: not working (dateparsefailure)

echo "Die" | /opt/logstash-6.2.2/bin/logstash -e 'filter { date { locale => "de"
match => [ "message", "EEE" ] } }'

English weekday: working

echo "Tue" | /opt/logstash-6.2.2/bin/logstash -e 'filter { date { locale => "en"
match => [ "message", "EEE" ] } }'

What's the correct way to specify the locale? Is it "de" or "de-DE" or "de_DE". I've tried various forms (POSIX/IETF-BCP47) but I couldn't get the weekday to be parsed correctly.

Any ideas? Is this a bug?

Thanks,
Bernhard


(Bernhard Friedreich) #2

Any ideas anyone? If not I will create a bugreport as it looks like a bug to me.

Thanks,
Bernhard


(system) #3

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