Created
August 6, 2013 20:28
-
-
Save cdenneen/6168293 to your computer and use it in GitHub Desktop.
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
multiline { | |
pattern => "\d\d\/\d\d\/\d\d\d\d \d\d\:\d\d\:\d\d\.\d\d\*" | |
add_tag => [ "extra_line" ] | |
what => previous | |
} | |
date { | |
tags => [ "extra_line" ] | |
match => [ "datetime", "MM/dd/YYYY HH:mm:ss.SS*" ] | |
} | |
date { | |
exclude_tags => [ "extra_line" ] | |
match => [ "datetime", "MM/dd/YYYY HH:mm:ss.SS" ] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Failed parsing date from field {:field=>"datetime", :value=>"08/06/2013 14:50:19.94", :exception=>java.lang.IllegalArgumentException: Invalid format: "08/06/2013 14:50:19.94" is too short, :level=>:warn}