github.com/alibaba/ilogtail/pkg@v0.0.0-20250526110833-c53b480d046c/protocol/proto/sls_logs_transfer.proto (about)

     1  syntax = "proto2";
     2  package sls_logs;
     3  
     4  import "github.com/gogo/protobuf/gogoproto/gogo.proto";
     5  
     6  option (gogoproto.marshaler_all) = true;
     7  option (gogoproto.unmarshaler_all) = true;
     8  option go_package = "github.com/alibaba/ilogtail/pkg/protocol";
     9  
    10  import "sls_logs.proto";
    11  
    12  // Report collected logs to the backend
    13  service LogReportService {
    14    rpc collect (stream LogGroup) returns (Response) {
    15    }
    16  }
    17  
    18  message Response {
    19    required ResponseCode  code = 1;
    20    required string message = 2;
    21  }
    22  
    23  enum ResponseCode {
    24    Success = 0;
    25    Failure = 1;
    26  }
    27