Created
March 4, 2016 23:14
-
-
Save cooper6581/afaf43c9319e3406ce2a to your computer and use it in GitHub Desktop.
@timestamp to epoch in ms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby { | |
code => "event['epoch'] = (event['@timestamp'].to_f * 1000).floor" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment