Push new events to drain
header Parameters
Api-Version | string API version |
Content-Encoding | string Content encoding: 'snappy' or empty for Promtail payload, 'cobrick' for DRAIN-based compressed payload |
string or string Scope header |
Request Body schema: application/x-protobufrequired
Binary representation of the events to be pushed
One of
string <byte>
Responses
Request samples
- Payload
Content type
application/x-protobuf
null
Response samples
- 200
- 400
- 401
- 422
- 500
Content type
application/json
null
Store and merge log templates
path Parameters
required | string or string Service name |
query Parameters
string or string Container name |
header Parameters
Api-Version | string API version |
string or string Scope header |
Request Body schema: application/jsonrequired
A JSON array with the log templates to be stored
One of
Array
tokens required | Array of strings |
identifier required | integer <int64> |
name required | string |
hitCounter required | integer <int64> |
container required | string |
service required | string |
namespace required | string |
Responses
Request samples
- Payload
Content type
application/json
null
Response samples
- 200
- 400
- 401
- 404
- 408
- 429
- 500
Content type
application/json
null