Sha256: b1d6085645ef5d709fe98858ef09c21aa5b9a34781d40ae18cbba95148cd58f3
Contents?: true
Size: 514 Bytes
Versions: 1
Compression:
Stored size: 514 Bytes
Contents
# This spec covers the question here: # https://github.com/logstash/logstash/pull/375 require "test_utils" describe "pull #375" do extend LogStash::RSpec describe "kv after grok" do config <<-CONFIG filter { grok { pattern => "%{URIPATH:mypath}%{URIPARAM:myparams}" } kv { source => "myparams" field_split => "&?" } } CONFIG sample "/some/path?foo=bar&baz=fizz" do insist { subject["foo"] } == "bar" insist { subject["baz"] } == "fizz" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
logstash-lib-1.3.2 | spec/support/pull375.rb |