blob: a385998c3072186b537e8b049a4a13e96b9dbccf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
syntax = "proto3";
package yandex.cloud.logging.v1;
import "google/rpc/status.proto";
import "yandex/cloud/logging/v1/log_entry.proto";
import "yandex/cloud/logging/v1/log_resource.proto";
import "yandex/cloud/validation.proto";
option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/logging/v1;logging";
option java_package = "yandex.cloud.api.logging.v1";
// A set of methods for writing to log groups.
service LogIngestionService {
// Write log entries to specified destination.
rpc Write (WriteRequest) returns (WriteResponse);
}
message WriteRequest {
// Log entries destination.
//
// See [Destination] for details.
Destination destination = 1 [(required) = true];
// Common resource (type, ID) specification for log entries.
LogEntryResource resource = 2;
// List of log entries.
repeated IncomingLogEntry entries = 3 [(size) = "1-100"];
// Log entries defaults.
//
// See [LogEntryDefaults] for details.
LogEntryDefaults defaults = 4;
}
message WriteResponse {
// Map<idx, status> of ingest failures.
//
// If entry with idx N is absent, it was ingested successfully.
map<int64, google.rpc.Status> errors = 1;
}
|