Last active
February 28, 2018 17:51
-
-
Save andrewvc/6b13148b3c94c2832afa7ef90955f5c7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
filter { | |
ruby { | |
code => "io = StringIO.new(event.get('message')); enum = io.each_line; enum.next; event.set('mydate', enum.next); io.close" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment