Support extract timestamp with specified pattern in LAL. #11484
weixiang1862
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
I think this is good to have. Are you going to submit a pull request for this? cc @kezhenxu94 |
Beta Was this translation helpful? Give feedback.
1 reply
-
Provided by #11489 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
timestamp required a numeric string (millisecond) as parameter. In most case, we use patterned datetime in raw log for readability. If timestamp support parse time in specified pattern, it can cover all cases.
We can add a method
ExtractorSpec#timestamp(final String timestamp, final String formatPattern)
, then user can define time pattern freely in their raw log:Beta Was this translation helpful? Give feedback.
All reactions