4 ssl_certificate => "/var/lib/logstash/lumberjack.crt"
5 ssl_key => "/var/lib/logstash/lumberjack.key"
10 if [type] == "apache" {
12 match => [ "message", "%{COMBINEDAPACHELOG} %{NUMBER:duration:int}us %{NOTSPACE:request_id} %{NOTSPACE:ssl_protocol} %{NOTSPACE:ssl_cipher}" ]
15 match => [ "timestamp", "dd/MMM/yyyy:HH:mm:ss Z" ]
19 remove_field => [ "agent" ]
27 rename => { "agent" => "[useragent][raw]" }
30 } else if [type] == "rails" {
35 "[parameters][authenticity_token]",
36 "[parameters][pass_crypt]",
37 "[parameters][pass_crypt_confirmation]",
43 if [host] =~ /^spike-/ {
45 add_tag => [ "frontend" ]
47 } else if [host] =~ /^thorn-/ {
49 add_tag => [ "backend" ]
56 host => [ "127.0.0.1" ]
57 cluster => "<%= node[:elasticsearch][:cluster][:name] %>"