Monitoring

class elasticsearch.client.MonitoringClient(client)
Parameters:

client (BaseClient) –

bulk(*, interval, operations=None, body=None, system_api_version, system_id, error_trace=None, filter_path=None, human=None, pretty=None)

Used by the monitoring features to send monitoring data.

https://www.elastic.co/guide/en/elasticsearch/reference/8.13/monitor-elasticsearch-cluster.html

Parameters:
  • interval (Literal[-1] | ~typing.Literal[0] | str) – Collection interval (e.g., ’10s’ or ‘10000ms’) of the payload

  • operations (Sequence[Mapping[str, Any]] | None) –

  • system_api_version (str) –

  • system_id (str) – Identifier of the monitored system

  • body (Sequence[Mapping[str, Any]] | None) –

  • error_trace (bool | None) –

  • filter_path (str | Sequence[str] | None) –

  • human (bool | None) –

  • pretty (bool | None) –

Return type:

ObjectApiResponse[Any]