mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
- minor cleanup
This commit is contained in:
parent
cc7137d62e
commit
bcb4e75ef5
1 changed files with 0 additions and 2 deletions
|
@ -14,7 +14,6 @@ class LogStash::Filters::Date < LogStash::Filters::Base
|
||||||
|
|
||||||
# LOGSTASH-34
|
# LOGSTASH-34
|
||||||
DATEPATTERNS = %w{ y d H m s S }
|
DATEPATTERNS = %w{ y d H m s S }
|
||||||
# Z
|
|
||||||
|
|
||||||
# The 'date' filter will take a value from your event and use it as the
|
# The 'date' filter will take a value from your event and use it as the
|
||||||
# event timestamp. This is useful for parsing logs generated on remote
|
# event timestamp. This is useful for parsing logs generated on remote
|
||||||
|
@ -49,7 +48,6 @@ class LogStash::Filters::Date < LogStash::Filters::Base
|
||||||
|
|
||||||
case value
|
case value
|
||||||
when "ISO8601"
|
when "ISO8601"
|
||||||
p "Using iso8601 parser"
|
|
||||||
parser = org.joda.time.format.ISODateTimeFormat.dateTimeParser
|
parser = org.joda.time.format.ISODateTimeFormat.dateTimeParser
|
||||||
missing = []
|
missing = []
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue