Rest API about replication failures

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch version: 2.11

Describe the issue:
I’m trying to setup cross-cluster replication and the replication is not starting because of this error:

Cannot initiate replication for the following indices from leader (remote) as indices with same name already exists on the cluster [log-daily-2024-01-21, log-daily-2024-01-22 ... ]

I have autofollow rules for replication. I know I first have to delete these indices on the follower cluster, but it seems this replication error is not visible in the _plugins/_replication/autofollow_stats API, it is visible only in the log.

Is there a rest API (on leader or on follower side) where this error (or the list of indices to delete) is visible?

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