Index Mapping/Routing Help

You should be able to use the input type to direct log events to specific
indexes. For example:

input {
file {
type => "unixlogs"
path => "/var/log/UNIX/*.log"
}
}

output {
if [type] == "unixlogs" {
elasticsearch {
host => "localhost"
index => "unix-%{+YYYY.MM.dd}"
}
}
}

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5107e623-4bf5-46d3-8d9c-83de77f95bd5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.