outputs / elasticsearch_river

fixed line 209


from:  header = { "index" => { "_index" => index, "_type" => type } }
to : header = { "index" => { "_index" => event.sprintf(@index), "_type" => event.sprintf(@type) } }

the allows index to properly parse out variables such as the date {+YYY-mm-dd}