remote-info.asciidoc 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. [[cluster-remote-info]]
  2. === Remote cluster info API
  3. ++++
  4. <titleabbrev>Remote cluster info</titleabbrev>
  5. ++++
  6. .New API reference
  7. [sidebar]
  8. --
  9. For the most up-to-date API details, refer to {api-es}/group/endpoint-cluster[Cluster APIs].
  10. --
  11. Returns configured remote cluster information.
  12. [[cluster-remote-info-api-request]]
  13. ==== {api-request-title}
  14. `GET /_remote/info`
  15. [[cluster-remote-info-api-prereqs]]
  16. ==== {api-prereq-title}
  17. * If the {es} {security-features} are enabled, you must have the `monitor` or
  18. `manage` <<privileges-list-cluster,cluster privilege>> to use this API.
  19. [[cluster-remote-info-api-desc]]
  20. ==== {api-description-title}
  21. The cluster remote info API allows you to retrieve all of the configured
  22. remote cluster information. It returns connection and endpoint information keyed
  23. by the configured remote cluster alias.
  24. [[cluster-remote-info-api-response-body]]
  25. ==== {api-response-body-title}
  26. `mode`::
  27. Connection mode for the remote cluster. Returned values are `sniff` and
  28. `proxy`.
  29. `connected`::
  30. True if there is at least one connection to the remote cluster.
  31. `initial_connect_timeout`::
  32. The initial connect timeout for remote cluster connections.
  33. [[skip-unavailable]]
  34. `skip_unavailable`::
  35. Whether a {ccs} skips the remote cluster if its nodes are unavailable during the
  36. search. If `true`, a {ccs} also ignores errors returned by the remote cluster.
  37. Refer to <<skip-unavailable-clusters>>.
  38. `seeds`::
  39. Initial seed transport addresses of the remote cluster when sniff mode is
  40. configured.
  41. `num_nodes_connected`::
  42. Number of connected nodes in the remote cluster when sniff mode is
  43. configured.
  44. `max_connections_per_cluster`::
  45. Maximum number of connections maintained for the remote cluster when sniff
  46. mode is configured.
  47. `proxy_address`::
  48. Address for remote connections when proxy mode is configured.
  49. `num_proxy_sockets_connected`::
  50. Number of open socket connections to the remote cluster when proxy mode
  51. is configured.
  52. `max_proxy_socket_connections`::
  53. The maximum number of socket connections to the remote cluster when proxy
  54. mode is configured.
  55. `cluster_credentials`::
  56. This field presents and has value of `::es_redacted::` only when the
  57. <<remote-clusters-api-key,remote cluster is configured with the API key based model>>.
  58. Otherwise, the field is not present.