Created
January 14, 2012 16:30
-
-
Save jordansissel/1611956 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% 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