Open gopikishanm opened 5 years ago
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)
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)