Send monitoring data Added in 6.3.0
This API is used by the monitoring features to send monitoring data.
Path parameters
-
Default document type for items which don't provide one
Query parameters
-
Identifier of the monitored system
-
Collection interval (e.g., '10s' or '10000ms') of the payload
POST
/_monitoring/{type}/bulk
curl \
-X POST http://api.example.com/_monitoring/{type}/bulk?system_id=string&system_api_version=string&interval=string \
-H "Content-Type: application/json" \
-d '[{"":{"_id":"string","_index":"string","routing":"string","if_primary_term":42.0,"if_seq_no":42.0,"version":42.0,"version_type":"internal"}}]'
Request examples
[
{
"": {
"_id": "string",
"_index": "string",
"routing": "string",
"if_primary_term": 42.0,
"if_seq_no": 42.0,
"version": 42.0,
"version_type": "internal"
}
}
]
Response examples (200)
{
"error": {
"type": "string",
"reason": "string",
"stack_trace": "string",
"caused_by": {},
"root_cause": [
{}
],
"suppressed": [
{}
]
},
"errors": true,
"ignored": true,
"took": 42.0
}