mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- update tutorials to use new date 'match' syntax instead of the older
deprecated one
This commit is contained in:
parent
81e6952130
commit
dc3f46bd74
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ filter {
|
|||
type => "apache"
|
||||
# Try to pull the timestamp from the 'timestamp' field (parsed above with
|
||||
# grok). The apache time format looks like: "18/Aug/2011:05:44:34 -0700"
|
||||
timestamp => "dd/MMM/yyyy:HH:mm:ss Z"
|
||||
match => [ "timestamp", "dd/MMM/yyyy:HH:mm:ss Z" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ filter {
|
|||
type => "apache"
|
||||
# Try to pull the timestamp from the 'timestamp' field (parsed above with
|
||||
# grok). The apache time format looks like: "18/Aug/2011:05:44:34 -0700"
|
||||
timestamp => "dd/MMM/yyyy:HH:mm:ss Z"
|
||||
match => [ "timestamp", "dd/MMM/yyyy:HH:mm:ss Z" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue