Logstash Date Filter not setting timestamp properly -


i trying set @timestamp property time received in logfile.

the datetime in log file has following values: 08/15/2017 01:29:59.453 pm

to parse using

    date     {             match => [ "datetime", "mm/dd/yyyy hh:mm:ss.sss a"]     } 

`

but, after parsing @timestamp values shown august 15th 2017, 01:29:59.453 am

which wrong hours should either 13:29 (24hour format) or 01:29 pm (half-day format)

my guess is ignoring halfday of day (am / pm )

i tried parsing same format same input field using joda time debugger , there working fine well

any pointers help


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -