Define timestamp format for JsonEncoder #698
YarochkinMichael
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
I have working version in a local branch |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I am using Fluend sidecar to send logs to ElasticSearch.
Sending timestamp in unix timestamp is not human readable.
Is it possible to set the timestamp format to use?
Something like (line 120)
appenderMember(sb, TIMESTAMP_ATTR_NAME, new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format( event.getTimeStamp()));
With format setter, of course.
Beta Was this translation helpful? Give feedback.
All reactions