add logstash_dateformat option

Add option to define dateformat for logstash index if weekly or monthly index is needed.