Logstash

input and output testing

input {

  stdin {
    type => "xxxx"
    tags => [ "xxxx" ]
  }

}
output {
  redis {
      host => "xxxx"
      data_type => "channel"
      key => "logstash-%{+yyyy.MM.dd}"
  }
  file {
      path => "/tmp/logstash.log"
      codec => rubydebug
 }
}