sls sdk

GetLogsRequest Constructor (String, String, UInt32, UInt32, String, String, Int32, Int32, Boolean)

constructor with all possible fileds

public GetLogsRequest(
   String project,
   String logstore,
   UInt32 from,
   UInt32 to,
   String topic,
   String query,
   Int32 lines,
   Int32 offset,
   Boolean reverse
);

Parameters

String
project name
String
logstore name
UInt32
begin timestamp of time range to query
UInt32
end timestamp of time range to query
String
log topic to query
String
query string to run
Int32
count of logs to request
Int32
offset of logs to request
Boolean
flag indicates whether logs in response are in reversed order

See Also

GetLogsRequest Class | Aliyun.Api.SLS.Request Namespace | GetLogsRequest Constructor Overload List