I am using logstash to feed logs into ElasticSearch. I am configuring logstash output as:
input { file { path => \"/tmp/foo.log\" code
Index templates can help you. Please see this jira for more details. You can create index templates with wildcard support to match an index name and put your default mappings.