Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:1611956
1 2 3 4
% ruby bin/logstash agent -e 'filter { grok { named_captures_only => false pattern => "Hello, %{foo=.*}" type=> stdin} }'
 
Hello, world
{"@source"=>"stdin://snapple.home/", "@type"=>"stdin", "@tags"=>[], "@fields"=>{"foo"=>["world"]}, "@timestamp"=>"2012-01-14T16:30:12.279979Z", "@source_host"=>"snapple.home", "@source_path"=>"/", "@message"=>"Hello, world"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.