mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Added match config option to date filter (with test) - LOGSTASH-735
This commit is contained in:
parent
c64ea7f8be
commit
45616712ac
1 changed files with 3 additions and 3 deletions
|
@ -173,9 +173,9 @@ describe LogStash::Filters::Date do
|
|||
time = "2001-09-09T01:46:40.000Z"
|
||||
|
||||
sample({"@fields" => {"mydate" => time}}) do
|
||||
#insist { subject["mydate"] } == time
|
||||
#insist { subject.timestamp } == time
|
||||
#insist { subject["@timestamp"] } == time
|
||||
insist { subject["mydate"] } == time
|
||||
insist { subject.timestamp } == time
|
||||
insist { subject["@timestamp"] } == time
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue