Elastic search replication and dynamic index

Hello,

I am using CB transport plugin for replicating data to ES. I have a case where I need to replicate the data to specifc index based on time. Here the index name depends on the day. Data generated on that day would be indexed under entity_date. document id has type and time embedded in it. How can I achieve this by using 2.1 plugin for ES?

Thanks
Milind