Duplication Due to rollover policy in kibana,data coming from logstash pipeline

@gbrown
I read your this post and you suggessted one solution,I'm not sure how this can be done.
How can this be configured in logstash pipeline,updates happens in rollover index and only new documents comes in present index.