curl -u shiva:shiva -XGET 'localhost:8902/hippo/v1/_ccr/get_remote_clusters/{pattern}?pretty'
Result:
{
"cluster1" : {
"id" : "a73b59e91fa74e66acdd553d2f71e1e4",
"master_group" : "172.29.203.189:26841,172.29.203.189:26851,172.29.203.189:26861",
"connection_status" : "kNotConnected"
}
}
Parameter description:
Parameters | Description | Required |
---|---|---|
pattern | Relationship name | Yes, supports using asterisk (*) wildcard character |