syntax = "proto3"; package superviseur.v1alpha1; message LogRequest { string service = 1; string config_file_path = 2; bool follow = 3; } message LogResponse { string line = 1; } message TailRequest { string service = 1; string config_file_path = 2; uint32 lines = 3; bool follow = 4; } message TailResponse { string line = 1; } message SearchRequest { string service = 1; string term = 2; string config_file_path = 3; } message SearchResponse { repeated LogDetails log_details = 1; } message LogDetails { string project = 1; string service = 2; string line = 3; string date = 4; string output = 5; } message EventsRequest { string service = 1; string config_file_path = 2; } message EventsResponse { string event = 1; string project = 2; string service = 3; string date = 4; string output = 5; } service LoggingService { rpc Log (LogRequest) returns (stream LogResponse) {} rpc Tail (TailRequest) returns (stream TailResponse) {} rpc Search (SearchRequest) returns (SearchResponse) {} rpc Events (EventsRequest) returns (stream EventsResponse) {} }