From bdb4cd0cc75375723ea8d81508f76168b2b218b5 Mon Sep 17 00:00:00 2001 From: Wes Maldonado Date: Wed, 29 May 2013 11:23:44 -0700 Subject: [PATCH] Remove date filter from haproxy parsing example. --- spec/examples/parse-haproxy-logs.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spec/examples/parse-haproxy-logs.rb b/spec/examples/parse-haproxy-logs.rb index 672855c67..96f64f3c7 100644 --- a/spec/examples/parse-haproxy-logs.rb +++ b/spec/examples/parse-haproxy-logs.rb @@ -10,9 +10,6 @@ describe "haproxy httplog format" do grok { pattern => "%{HAPROXYHTTP}" } - date { - match => ["accept_date", "dd/MMM/yyyy:HH:mm:ss.SSS"] - } } CONFIG # 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_request"] } == ["/index.html"] insist{ subject["http_version"] } == ["1.1"] - # Verify date parsing - insist { subject.timestamp } == "2009-02-06T20:14:14.655Z" end end