You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Date Processor in Data Prepper is unable to parse the date time given the below patterns defined in the pipeline YAML configuration.
Consider, testMessage.log has a line {"message": "Jul 30, 2024 3:28:55 PM"}, data prepper is unable to inject the @timestamp in the output event after parsing the date time from message key.
It looks like if we remove the line to default parsing for hour parseDefaulting(ChronoField.HOUR_OF_DAY, 0) from here, it is matching the expected behavior.
I am crossing the same bug.
I am definitely not a Java fluent.
But based on my understanding of the javadoc, I am not in favour of removing the line to default parsing for hour parseDefaulting(ChronoField.HOUR_OF_DAY, 0) from here.
I think that the patch should more in the direction of:
Date Processor in Data Prepper is unable to parse the date time given the below patterns defined in the pipeline YAML configuration.
Consider,
testMessage.log
has a line{"message": "Jul 30, 2024 3:28:55 PM"}
, data prepper is unable to inject the@timestamp
in the output event after parsing the date time frommessage
key.It looks like if we remove the line to default parsing for hour
parseDefaulting(ChronoField.HOUR_OF_DAY, 0)
from here, it is matching the expected behavior.The text was updated successfully, but these errors were encountered: