How to prevent the warning "x of y shards failed

How to prevent the warning “x of y shards failed” in Kibana when adding new fields to old index data in Txnstore?

You need to ensure your new fields are mapped in old indexes

Refer - Kibana Reporting

Hi @mrunalini

Adding on @Mantri response

To add field mapping in the Txnstore index, run one ‘PUT’ command in Txnstore.

Ex. PUT /index/_mapping