Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request : GetEnqueueTime in Milliseconds #23

Open
gopikishanm opened this issue Nov 29, 2018 · 0 comments
Open

Feature Request : GetEnqueueTime in Milliseconds #23

gopikishanm opened this issue Nov 29, 2018 · 0 comments

Comments

@gopikishanm
Copy link

Hi,

When I receive events and send them to Elastic search, I have the event timestamp in seconds. Below is the code line in processor.rb

event.set("[@metadata][azure_event_hubs][timestamp]",payload.getSystemProperties.getEnqueuedTime.getEpochSecond)

Can we have this in milliseconds so that we can calculate the time taken for logstash to process in milliseconds. Something like below

event.set("[@metadata][azure_event_hubs][timestamp]",payload.getSystemProperties.getEnqueuedTime.toEpochMilli)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant