mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Remove date filter from haproxy parsing example.
This commit is contained in:
parent
e7f5d3af85
commit
bdb4cd0cc7
1 changed files with 0 additions and 5 deletions
|
@ -10,9 +10,6 @@ describe "haproxy httplog format" do
|
||||||
grok {
|
grok {
|
||||||
pattern => "%{HAPROXYHTTP}"
|
pattern => "%{HAPROXYHTTP}"
|
||||||
}
|
}
|
||||||
date {
|
|
||||||
match => ["accept_date", "dd/MMM/yyyy:HH:mm:ss.SSS"]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
CONFIG
|
CONFIG
|
||||||
# Here we provide a sample log event for the testing suite.
|
# Here we provide a sample log event for the testing suite.
|
||||||
|
@ -113,8 +110,6 @@ describe "haproxy httplog format" do
|
||||||
insist{ subject["http_verb"] } == ["GET"]
|
insist{ subject["http_verb"] } == ["GET"]
|
||||||
insist{ subject["http_request"] } == ["/index.html"]
|
insist{ subject["http_request"] } == ["/index.html"]
|
||||||
insist{ subject["http_version"] } == ["1.1"]
|
insist{ subject["http_version"] } == ["1.1"]
|
||||||
# Verify date parsing
|
|
||||||
insist { subject.timestamp } == "2009-02-06T20:14:14.655Z"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue