@query_params('interval', 'system_api_version', 'system_id')
def bulk(self, body, doc_type=None, params=None, headers=None):
    "\n        Used by the monitoring features to send monitoring data.\n\n        `<https://www.elastic.co/guide/en/elasticsearch/reference/7.10/monitor-elasticsearch-cluster.html>`_\n\n        .. warning::\n\n            This API is **experimental** so may include breaking changes\n            or be removed in a future version\n\n        :arg body: The operation definition and data (action-data\n            pairs), separated by newlines\n        :arg doc_type: Default document type for items which don't\n            provide one\n        :arg interval: Collection interval (e.g., '10s' or '10000ms') of\n            the payload\n        :arg system_api_version: API Version of the monitored system\n        :arg system_id: Identifier of the monitored system\n        "
    if (body in SKIP_IN_PATH):
        raise ValueError("Empty value passed for a required argument 'body'.")
    body = _bulk_body(self.transport.serializer, body)
    return self.transport.perform_request('POST', _make_path('_monitoring', doc_type, 'bulk'), params=params, headers=headers, body=body)
Used by the monitoring features to send monitoring data.

`<https://www.elastic.co/guide/en/elasticsearch/reference/7.10/monitor-elasticsearch-cluster.html>`_

.. warning::

    This API is **experimental** so may include breaking changes
    or be removed in a future version

:arg body: The operation definition and data (action-data
    pairs), separated by newlines
:arg doc_type: Default document type for items which don't
    provide one
:arg interval: Collection interval (e.g., '10s' or '10000ms') of
    the payload
:arg system_api_version: API Version of the monitored system
:arg system_id: Identifier of the monitored system
@query_params('interval', 'system_api_version', 'system_id')
def bulk(self, body, doc_type=None, params=None, headers=None):
    "\n        Used by the monitoring features to send monitoring data.\n\n        `<https://www.elastic.co/guide/en/elasticsearch/reference/7.10/monitor-elasticsearch-cluster.html>`_\n\n        .. warning::\n\n            This API is **experimental** so may include breaking changes\n            or be removed in a future version\n\n        :arg body: The operation definition and data (action-data\n            pairs), separated by newlines\n        :arg doc_type: Default document type for items which don't\n            provide one\n        :arg interval: Collection interval (e.g., '10s' or '10000ms') of\n            the payload\n        :arg system_api_version: API Version of the monitored system\n        :arg system_id: Identifier of the monitored system\n        "
    if (body in SKIP_IN_PATH):
        raise ValueError("Empty value passed for a required argument 'body'.")
    body = _bulk_body(self.transport.serializer, body)
    return self.transport.perform_request('POST', _make_path('_monitoring', doc_type, 'bulk'), params=params, headers=headers, body=body)