Logstash elasticsearch filter plugin - set index

I've the same problem. Before version 2.0 you could add the index in the host but today it is no longer possible. I found this page: Specify index when using elasticsearch logstash filter but I haven't tried to patch the plugin.