How to overwrite system generated .monitoring-* templates in elasticsearch 8.0

In Elasticsearch 8.0 few system generated templates are coming by default named with ".monitoring-*" in that "number_of_replicas: 1" with default value 1, because of that replica is set to 1 and health of data stream is "Yellow".
So can any one please suggest how we can overwrite these templates or if there is any way if we can stop\prohibit to download these templates while elastic code downloads?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.