_id needs to be unique only in index?

Hi,

If I set the _id field on my own in logstash, where does it needs to be unique? Only within the same index or in all indices?

Thanks, Andreas

It needs to be unique within the same index.

thanks