Hi,
Any way of slimming output
down? Duplication looks ugly. For example host
, sniffing
and manage_template
could be made common/shared.
Thanks
output {
if [type] == "apache-access" {
elasticsearch {
hosts => ["localhost:9200"]
sniffing => true
manage_template => false
index => "ap-index"
}
} else if [type] == "symfony-dev" {
elasticsearch {
hosts => ["localhost:9200"]
sniffing => true
manage_template => false
index => "my-hello-index"
}
}
}