Skip to content

Instantly share code, notes, and snippets.

@jsvd
Created February 5, 2015 12:20
Show Gist options
  • Save jsvd/084f7fcd27508797923b to your computer and use it in GitHub Desktop.
Save jsvd/084f7fcd27508797923b to your computer and use it in GitHub Desktop.
Run options: exclude {:redis=>true, :socket=>true, :performance=>true, :couchdb=
>true, :elasticsearch=>true, :elasticsearch_secure=>true, :broken=>true, :export
_cypher=>true, :integration=>true}
.F.....FF..................................................F.......FF..........F
..FF
Failures:
1) LogStash::Filters::Grok when named_captures_only == false "Hello World, yo!
" when processed
Failure/Error: Unable to find matching line from backtrace
Insist::Failure:
Expected "WORD" in #<LogStash::Event:0x618b147b @metadata_accessors=#<Log
Stash::Util::Accessors:0x2246bfd1 @store={}, @lut={}>, @cancelled=false, @logger
=#<Cabin::Channel:0x181b8d0c @metrics=#<Cabin::Metrics:0x376a34fb @metrics_lock=
#<Mutex:0xefbc6a1>, @metrics={}, @channel=#<Cabin::Channel:0x181b8d0c ...>>, @su
bscriber_lock=#<Mutex:0x19544898>, @level=:info, @subscribers={}, @data={}>, @da
ta={"message"=>"Hello World, yo!", "@version"=>"1", "@timestamp"=>"2015-02-05T12
:19:33.829Z", "tags"=>["_grokparsefailure"]}, @metadata={}, @accessors=#<LogStas
h::Util::Accessors:0x6b56e8ee @store={"message"=>"Hello World, yo!", "@version"=
>"1", "@timestamp"=>"2015-02-05T12:19:33.829Z", "tags"=>["_grokparsefailure"]},
@lut={"message"=>[{"message"=>"Hello World, yo!", "@version"=>"1", "@timestamp"=
>"2015-02-05T12:19:33.829Z", "tags"=>["_grokparsefailure"]}, "message"], "tags"=
>[{"message"=>"Hello World, yo!", "@version"=>"1", "@timestamp"=>"2015-02-05T12:
19:33.829Z", "tags"=>["_grokparsefailure"]}, "tags"], "WORD"=>[{"message"=>"Hell
o World, yo!", "@version"=>"1", "@timestamp"=>"2015-02-05T12:19:33.829Z", "tags"
=>["_grokparsefailure"]}, "WORD"]}>>
# ./spec/filters/grok_spec.rb:301:in `(root)'
2) LogStash::Filters::Grok empty fields drop by default "1=test" when processe
d
Failure/Error: Unable to find matching line from backtrace
Insist::Failure:
Expected nil, got ["_grokparsefailure"]
# ./spec/filters/grok_spec.rb:260:in `(root)'
3) LogStash::Filters::Grok empty fields keep if keep_empty_captures is true "1
=test" when processed
Failure/Error: Unable to find matching line from backtrace
Insist::Failure:
Expected nil, got ["_grokparsefailure"]
# ./spec/filters/grok_spec.rb:279:in `(root)'
4) LogStash::Filters::Grok singles with duplicate-named fields "hello world" w
hen processed
Failure/Error: Unable to find matching line from backtrace
Insist::Failure:
NilClass is not a String
# ./spec/filters/grok_spec.rb:494:in `(root)'
5) LogStash::Filters::Grok break_on_match = true (default) for array input wit
h multiple grok pattern "{"message":["hello world","line 23"]}" when processed
Failure/Error: Unable to find matching line from backtrace
Insist::Failure:
Expected "hello", but got nil
# ./spec/filters/grok_spec.rb:599:in `(root)'
6) LogStash::Filters::Grok allow dashes in capture names "hello world" when pr
ocessed
Failure/Error: Unable to find matching line from backtrace
Insist::Failure:
Expected "hello", but got nil
# ./spec/filters/grok_spec.rb:446:in `(root)'
7) LogStash::Filters::Grok processing selected fields "{"message":"hello world
","examplefield":"12345"}" when processed
Failure/Error: Unable to find matching line from backtrace
Insist::Failure:
Expected "hello", but got nil
# ./spec/filters/grok_spec.rb:223:in `(root)'
8) LogStash::Filters::Grok break_on_match = false for array input with multipl
e grok pattern "{"message":["hello world 123","line 23"]}" when processed
Failure/Error: Unable to find matching line from backtrace
Insist::Failure:
Expected ["hello", "line"], but got nil
# ./spec/filters/grok_spec.rb:618:in `(root)'
9) LogStash::Filters::Grok break_on_match = false for array input with multipl
e grok pattern "{"message":["hello world","line 23"]}" when processed
Failure/Error: Unable to find matching line from backtrace
Insist::Failure:
Expected ["hello", "line"], but got nil
# ./spec/filters/grok_spec.rb:624:in `(root)'
Finished in 4.87 seconds
84 examples, 9 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment