The decision can be determined by answering multiple questions:
Is the data going to be queried simultaneously? That is, will you ever need to search for dev/prod at the same time (in the same query)? If no, you can separate the data by env.
Are different sets of users going to require access to different indexes? If so, yes, you should separate the data into separate indexes.
Are you managing a high volume of data? Then yes, separating into separate indexes may provide you with better search performance particularly if you are only searching one env at a time.
Ultimately, it is up to you. The data (most likely) will have inherent features that separate it, either by host, source or sourcetype so, while a separate index is not required, consider the other benefits of separating your data.
... View more