Parsing multiple similar exceptions to a single document in elasticsearch

Hi Team,

I would like to customise the ES documents by passing the similar multiple exceptions from a log file to a single index instead of multiple indexes. If any good approach to test this, please let me know. Thanks in advance

It is not clear to me exactly what you are trying to do. Could you please elaborate and provide an example?

It would also be useful to know why you are looking to do this and what you are looking to gain.