http://semicomplete.com/files/logstash/logstash-1.1.0beta6-monolithic.jar
java -jar logstash-1.1.0beta6-monolithic.jar agent -c logstash-sender.conf
java -jar logstash-1.1.0beta6-monolithic.jar agent -c logstash-receiver.conf
[] me@~/Downloads$ java -jar logstash-1.1.0beta6-monolithic.jar agent -c logstash-1.conf
test input
{
"@source" => "stdin://jvincent-MacBookPro/",
"@type" => "test_input",
"@tags" => [],
"@fields" => {},
"@timestamp" => "2011-10-25T14:22:49.196000Z",
"@source_host" => "jvincent-MacBookPro",
"@source_path" => "/",
"@message" => "test input"
}
[] me@~/Downloads$ java -jar logstash-1.1.0beta6-monolithic.jar agent -c logstash-2.conf
{
"@source" => "gelf://jvincent-MacBookPro/",
"@type" => "gelf-test",
"@tags" => [],
"@fields" => {
"version" => "1.0",
"host" => "jvincent-MacBookPro",
"level" => nil,
"facility" => "logstash-gelf",
"short_message" => "test input",
"full_message" => "test input",
"file" => "/",
"timestamp" => 1319552569.294,
"line" => 105
},
"@timestamp" => "2011-10-25T14:22:49.000000Z",
"@source_host" => "jvincent-MacBookPro",
"@source_path" => "/",
"@message" => "test input"
}
Thanks for that !
Currently debug is going to be removed from logstash, for gelf you can use "level" instead.