public class Client extends Object implements LogService
ClientBuilder to build Client instance.| Constructor and Description |
|---|
Client(String endpoint,
CredentialsProvider credentialsProvider) |
Client(String endpoint,
CredentialsProvider credentialsProvider,
com.aliyun.openservices.log.http.client.ClientConfiguration config,
String sourceIp) |
Client(String endpoint,
CredentialsProvider credentialsProvider,
com.aliyun.openservices.log.http.comm.ServiceClient serviceClient,
String sourceIp) |
Client(String endpoint,
CredentialsProvider credentialsProvider,
String sourceIp) |
Client(String endpoint,
Credentials credentials,
String sourceIp) |
Client(String endpoint,
String roleName) |
Client(String endpoint,
String accessId,
String accessKey)
Construct the sls client with accessId, accessKey and server address, all
other parameters will be set to default value
|
Client(String endpoint,
String accessId,
String accessKey,
com.aliyun.openservices.log.http.client.ClientConfiguration configuration) |
Client(String endpoint,
String accessId,
String accessKey,
com.aliyun.openservices.log.http.comm.ServiceClient serviceClient) |
Client(String endpoint,
String accessId,
String accessKey,
String sourceIp)
Construct the sls client with accessId, accessKey , server address and
client ip address, all other parameters will be set to default value
|
Client(String endpoint,
String accessId,
String accessKey,
String sourceIp,
com.aliyun.openservices.log.http.client.ClientConfiguration config)
Deprecated.
|
Client(String endpoint,
String accessId,
String accessKey,
String sourceIp,
int connectMaxCount,
int connectTimeout,
int sendTimeout)
Deprecated.
Use Client(String endpoint, String accessId, String accessKey, String sourceIp,
ClientConfiguration config) instead.
|
public Client(String endpoint, String accessId, String accessKey)
endpoint - the log service server addressaccessId - aliyun accessIdaccessKey - aliyun accessKeyNullPointerException - if the input parameter is nullIllegalArgumentException - if the input parameter is emptypublic Client(String endpoint, String accessId, String accessKey, com.aliyun.openservices.log.http.client.ClientConfiguration configuration)
public Client(String endpoint, String accessId, String accessKey, String sourceIp)
endpoint - the log service server addressaccessId - aliyun accessIdaccessKey - aliyun accessKeysourceIp - client ip addressNullPointerException - if the input parameter is nullIllegalArgumentException - if the input parameter is emptypublic Client(String endpoint, Credentials credentials, String sourceIp)
public Client(String endpoint, CredentialsProvider credentialsProvider)
public Client(String endpoint, CredentialsProvider credentialsProvider, String sourceIp)
endpoint - required not null, the log service server addresscredentialsProvider - required not null, interface which provide credentialssourceIp - nullable, client ip addresspublic Client(String endpoint, CredentialsProvider credentialsProvider, com.aliyun.openservices.log.http.comm.ServiceClient serviceClient, String sourceIp)
endpoint - required not null, the log service server addresscredentialsProvider - required not null, interface which provide credentialsserviceClient - required not null, customized service clientsourceIp - nullable, client ip address@Deprecated public Client(String endpoint, String accessId, String accessKey, String sourceIp, int connectMaxCount, int connectTimeout, int sendTimeout)
public Client(String endpoint, String accessId, String accessKey, com.aliyun.openservices.log.http.comm.ServiceClient serviceClient)
public Client(String endpoint, CredentialsProvider credentialsProvider, com.aliyun.openservices.log.http.client.ClientConfiguration config, String sourceIp)
endpoint - required not null, the log service server addresscredentialsProvider - required not null, interface which provide credentialsconfig - required not null, client configurationsourceIp - nullable, client ip address@Deprecated public Client(String endpoint, String accessId, String accessKey, String sourceIp, com.aliyun.openservices.log.http.client.ClientConfiguration config)
endpoint - required not null, the log service server addressaccessId - required not null, access key idaccessKey - required not null, access key secretconfig - required not null, client configurationsourceIp - nullable, client ip addresspublic String getUserAgent()
public void setUserAgent(String userAgent)
public String getRealIpForConsole()
public void setRealIpForConsole(String realIpForConsole)
public boolean isUseSSLForConsole()
public void setUseSSLForConsole(boolean useSSLForConsole)
public void ClearConsoleResources()
public void EnableUUIDTag()
public void DisableUUIDTag()
@Deprecated public void EnableDirectMode()
@Deprecated public void DisableDirectMode()
public void setUseDirectMode(boolean useDirectMode)
public boolean isUseDirectMode()
public String getResourceOwnerAccount()
public void setResourceOwnerAccount(String resourceOwnerAccount)
public org.apache.http.conn.HttpClientConnectionManager getConnectionManager()
public void setEndpoint(String endpoint)
public void setCredentialsProvider(CredentialsProvider credentialsProvider)
credentialsProvider - public String getAccessId()
public void setAccessId(String accessId)
public String getAccessKey()
public void setAccessKey(String accessKey)
public String getSecurityToken()
public void setSecurityToken(String securityToken)
public void shutdown()
public com.aliyun.openservices.log.http.client.ClientConfiguration getClientConfiguration()
public GetLogtailProfileResponse ExtractLogtailProfile(Map<String,String> resHeaders, com.alibaba.fastjson.JSONObject object) throws LogException
LogExceptionpublic TagResourcesResponse tagResources(String tagResourcesStr) throws LogException
LogExceptionpublic TagResourcesResponse tagResources(TagResourcesRequest request) throws LogException
LogExceptionpublic UntagResourcesResponse untagResources(String untagResourcesStr) throws LogException
LogExceptionpublic UntagResourcesResponse untagResources(UntagResourcesRequest request) throws LogException
LogExceptionpublic TagResourcesResponse tagResourcesSystemTags(TagResourcesSystemTagsRequest request) throws LogException
LogExceptionpublic UntagResourcesResponse untagResourcesSystemTags(UntagResourcesSystemTagsRequest request) throws LogException
LogExceptionpublic ListTagResourcesResponse listSystemTagResources(ListSystemTagResourcesRequest request) throws LogException
LogExceptionprotected List<TagResource> ExtractTagResources(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListTagResourcesResponse listTagResources(ListTagResourcesRequest request) throws LogException
LogExceptionpublic GetLogtailProfileResponse GetLogtailProfile(String project, String logstore, String source, int line, int offset) throws LogException
LogExceptionpublic GetLogtailProfileResponse GetLogtailProfile(GetLogtailProfileRequest request) throws LogException
LogExceptionpublic GetHistogramsResponse GetHistograms(String project, String logStore, int from, int to, String topic, String query) throws LogException
LogServiceGetHistograms in interface LogServiceproject - the project namelogStore - the result data logstorefrom - the begin time of the result data to getto - the end time of the result data to gettopic - the result data topicquery - If the query is not empty, it will return the logs contain the
keys in query, if "all_hit" is contained in the query, only
the logs contains all the keys in query are matched logs,
other wise logs contain any key in query are matched logs.LogException - if any error happen when get the data from log service serverpublic GetHistogramsResponse GetHistograms(GetHistogramsRequest request) throws LogException
LogServiceGetHistograms in interface LogServicerequest - the get histogram requestLogException - if any error happen when get the data from log service serverpublic PutLogsResponse PutLogs(String project, String logStore, byte[] logGroupBytes, String compressType, String shardHash) throws LogException
LogExceptionpublic PutLogsResponse PutLogs(String project, String logStore, String topic, List<LogItem> logItems, String source, String shardHash) throws LogException
LogServicePutLogs in interface LogServiceproject - the project namelogStore - the log store where the source data should be puttopic - source data topiclogItems - the log data to sendsource - the source of the data, if the source is empty, it will be
reset to the host ipshardHash - the hash key md5value (00000000000000000000000000000000 ~
ffffffffffffffffffffffffffffffff)LogException - if any error happen when send data to the serverpublic PutLogsResponse PutLogs(String project, String logStore, String topic, List<LogItem> logItems, String source) throws LogException
LogServicePutLogs in interface LogServiceproject - the project namelogStore - the log store where the source data should be puttopic - source data topiclogItems - the log data to sendsource - the source of the data, if the source is empty, it will be
reset to the host ipLogException - if any error happen when send data to the serverpublic BatchPutLogsResponse batchPutLogs(BatchPutLogsRequest request) throws LogException
LogServicebatchPutLogs in interface LogServicerequest - the batch put log requestLogException - if any error happen when send data to the serverpublic PutLogsResponse PutLogs(PutLogsRequest request) throws LogException
LogServicePutLogs in interface LogServicerequest - the put log requestLogException - if any error happen when send data to the serverpublic GetLogsResponse GetLogs(String project, String logStore, int from, int to, String topic, String query) throws LogException
LogServiceGetLogs in interface LogServiceproject - the project namelogStore - the result data logstorefrom - the begin time of the result data to getto - the end time of the result data to gettopic - the result data topicquery - If the query is not empty, it will return the logs contain the
keys in query, if "all_hit" is contained in the query, only
the logs contains all the keys in query are matched logs,
other wise logs contain any key in query are matched logsLogException - if any error happen when get the data from log service serverpublic GetLogsResponse GetLogs(String project, String logStore, int from, int to, String topic, String query, long line, long offset, boolean reverse) throws LogException
LogExceptionpublic GetLogsResponse GetLogs(String project, String logStore, int from, int to, String topic, String query, long line, long offset, boolean reverse, boolean powerSql) throws LogException
LogServiceGetLogs in interface LogServiceproject - the project namelogStore - the result data logstorefrom - the begin time of the result data to getto - the end time of the result data to gettopic - the result data topicquery - If the query is not empty, it will return the logs contain the
keys in query, if "all_hit" is contained in the query, only
the logs contains all the keys in query are matched logs,
other wise logs contain any key in query are matched logs.line - how many lines to get, the max lines is decided by the sls
backend serveroffset - the start log index in all the matched logs.reverse - a flag to determine the return data order, if reverse is set
to false, the return logs is ascending order by time, other
wise, it's descending orderpowerSql - if the query runs using a power instanceLogException - if any error happen when get the data from log service serverpublic GetLogsResponse GetLogs(String project, String logStore, int from, int to, String topic, String query, long line, long offset, boolean reverse, boolean powerSql, boolean forward) throws LogException
LogServiceGetLogs in interface LogServiceproject - the project namelogStore - the result data logstorefrom - the begin time of the result data to getto - the end time of the result data to gettopic - the result data topicquery - If the query is not empty, it will return the logs contain the
keys in query, if "all_hit" is contained in the query, only
the logs contains all the keys in query are matched logs,
other wise logs contain any key in query are matched logs.line - how many lines to get, the max lines is decided by the sls
backend serveroffset - the start log index in all the matched logs.reverse - a flag to determine the return data order, if reverse is set
to false, the return logs is ascending order by time, other
wise, it's descending orderpowerSql - if the query runs using a power instanceLogException - if any error happen when get the data from log service serverpublic GetLogsResponse GetLogs(String project, String logStore, int from, int to, String topic, String query, long line, long offset, boolean reverse, int shard) throws LogException
LogServiceGetLogs in interface LogServiceproject - the project namelogStore - the result data logstorefrom - the begin time of the result data to getto - the end time of the result data to gettopic - the result data topicquery - If the query is not empty, it will return the logs contain the
keys in query, if "all_hit" is contained in the query, only
the logs contains all the keys in query are matched logs,
otherwise logs contain any key in query are matched logs.line - how many lines to get, the max lines is decided by the sls
backend serveroffset - the start log index in all the matched logs.reverse - a flag to determine the return data order, if reverse is set
to false, the return logs is ascending order by time, other
wise, it's descending ordershard - specific shardLogException - if any error happen when get the data from log service serverpublic GetLogsResponse GetLogs(String project, String logStore, int from, int to, String topic, String query, long line, long offset, boolean reverse, boolean forward, String session) throws LogException
LogServiceGetLogs in interface LogServiceproject - the project namelogStore - the result data logstorefrom - the begin time of the result data to getto - the end time of the result data to gettopic - the result data topicquery - If the query is not empty, it will return the logs contain the
keys in query, if "all_hit" is contained in the query, only
the logs contains all the keys in query are matched logs,
otherwise logs contain any key in query are matched logs.line - how many lines to get, the max lines is decided by the sls
backend serveroffset - the start log index in all the matched logs.reverse - a flag to determine the return data order, if reverse is set
to false, the return logs is ascending order by time, other
wise, it's descending ordersession - query session param, should be like powerSql=true;schema_free=true;....LogException - if any error happen when get the data from log service serverpublic GetLogsResponse executeLogstoreSql(String project, String logStore, int from, int to, String sql, boolean powerSql) throws LogException
LogServiceexecuteLogstoreSql in interface LogServiceproject - the project namelogStore - the logstore namefrom - the begin time of the data to getto - the end time of the data to getsql - the sql string which must follow Search|Analysis syntax in SLSpowerSql - execute in enhanced sql mode if true, or normal mode if falseLogException - if any error happen when get the data from log service serverpublic GetContextLogsResponse getContextLogs(String project, String logstore, String packID, String packMeta, int backLines, int forwardLines) throws LogException
packID - package ID of the start log, such as 895CEA449A52FE-1 ({hex prefix}-{hex sequence number}).packMeta - package meta of the start log, such as 0|MTU1OTI4NTExMjg3NTQ2MjQ3MQ==|2|1.backLines - the number of logs to request backward, at most 100.forwardLines - the number of logs to request forward, at most 100.LogExceptionpublic GetLogsResponse GetProjectLogs(String project, String query) throws LogException
LogServiceGetProjectLogs in interface LogServiceproject - the project namequery - stardard sql query, compute from the whole projectLogException - if any error happen when get the data from log service serverpublic GetLogsResponse GetProjectLogs(GetProjectLogsRequest request) throws LogException
LogServiceGetProjectLogs in interface LogServicerequest - the get project logs requestLogException - if any error happen when get the data from log service serverpublic GetLogsResponse executeProjectSql(String project, String sql, boolean powerSql) throws LogException
LogServiceexecuteProjectSql in interface LogServiceproject - the project namesql - the sql string which must follow SQL syntaxpowerSql - execute in enhanced sql mode if true, or normal mode if falseLogException - if any error happen when get the data from log service serverpublic GetLogsResponse GetRawLogs(GetLogsRequest request) throws LogException
LogExceptionpublic GetLogsResponse GetLogs(GetLogsRequest request) throws LogException
LogServiceGetLogs in interface LogServicerequest - the get logs requestLogException - if any error happen when get the data from log service server@Deprecated public GetLogsResponseV2 GetLogsV2(GetLogsRequestV2 request) throws LogException
LogExceptionpublic GetContextLogsResponse getContextLogs(GetContextLogsRequest request) throws LogException
LogExceptionpublic ListLogStoresResponse ListLogStores(String project, int offset, int size) throws LogException
LogServiceListLogStores in interface LogServiceproject - the project nameoffset - the begin offsetsize - the query logstore name countLogException - if any error happen when get the data from log service serverpublic ListLogStoresResponse ListLogStores(String project, int offset, int size, String logstoreName) throws LogException
LogServiceListLogStores in interface LogServiceproject - the project nameoffset - the begin offsetsize - the query logstore name countlogstoreName - part name of the logstore, only return the logstores which
contains the input nameLogException - if any error happen when get the data from log service serverpublic ListLogStoresResponse ListLogStores(ListLogStoresRequest request) throws LogException
LogServiceListLogStores in interface LogServicerequest - the list log store requestLogException - if any error happen when get the data from log service serverpublic GetCursorResponse GetCursor(String project, String logStore, int shardId, long fromTime) throws LogException
LogServiceGetCursor in interface LogServiceproject - the project namelogStore - the log store nameshardId - the shard where the cursor should be getfromTime - the from time of log data in unix time stamp secLogException - if any error happen when get cursor from the serverpublic GetCursorResponse GetCursor(String project, String logStore, int shardId, Date fromTime) throws LogException
LogServiceGetCursor in interface LogServiceproject - the project namelogStore - the log store nameshardId - the shard where the cursor should be getfromTime - the from time of log data in java DateLogException - if any error happen when get cursor from the serverpublic GetCursorResponse GetCursor(String project, String logStream, int shardId, Consts.CursorMode mode) throws LogException
LogServiceGetCursor in interface LogServiceproject - the project namelogStream - the log store nameshardId - the shard where the cursor should be getmode - the mode to get cursor, include BEGIN and ENDLogException - if any error happen when get cursor from the serverpublic GetCursorResponse GetCursor(GetCursorRequest request) throws LogException
LogServiceGetCursor in interface LogServicerequest - the get cursor requestLogException - if any error happen when get cursor from the serverpublic GetCursorTimeResponse GetCursorTime(GetCursorTimeRequest request) throws LogException
LogServiceGetCursorTime in interface LogServicerequest - the requestLogExceptionpublic GetCursorTimeResponse GetPrevCursorTime(String project, String logStore, int shardId, String cursor) throws LogException
LogExceptionpublic GetCursorTimeResponse GetCursorTime(String project, String logStore, int shardId, String cursor) throws LogException
LogServiceGetCursorTime in interface LogServiceproject - the project namelogStore - the logstore nameshardId - shard idcursor - cursor of a shardLogException - if any error happen when get cursor from the serverpublic ListShardResponse SplitShard(String project, String logStore, int shardId, String midHash) throws LogException
LogServiceSplitShard in interface LogServiceproject - the project namelogStore - where the shard belongs toshardId - the shard id to splitmidHash - the middle md5 hash string to split the shardLogException - if any error happen when get the data from log service serverpublic ListShardResponse SplitShard(SplitShardRequest request) throws LogException
LogServiceSplitShard in interface LogServicerequest - split shard requestLogException - if any error happen when get the data from log service serverpublic ListShardResponse MergeShards(String project, String logStore, int shardId) throws LogException
LogServiceMergeShards in interface LogServiceproject - the project namelogStore - where the shard belongs toshardId - the shard id to merge with right adjacent shardLogException - if any error happen when get the data from log service serverpublic ListShardResponse MergeShards(MergeShardsRequest request) throws LogException
LogServiceMergeShards in interface LogServicerequest - the project nameLogException - if any error happen when get the data from log service serverpublic ListShardResponse ListShard(String project, String logStore) throws LogException
LogServiceListShard in interface LogServiceproject - the project namelogStore - where the shard belongs toLogException - if any error happen when get the data from log service serverpublic ListShardResponse ListShard(ListShardRequest request) throws LogException
LogServiceListShard in interface LogServicerequest - the get cursor requestLogException - if any error happen when get the data from log service server@Deprecated public BatchGetLogResponse BatchGetLog(String project, String logStore, int shardId, int count, String cursor) throws LogException
LogServiceBatchGetLog in interface LogServiceproject - the project namelogStore - where the shard belongs toshardId - the shard to batch get logcount - the logrgroup numcursor - the cursor to batch get logLogException - if any error happen when get the data from log service server@Deprecated public BatchGetLogResponse BatchGetLog(String project, String logStore, int shardId, int count, String cursor, String end_cursor) throws LogException
LogServiceBatchGetLog in interface LogServiceproject - the project namelogStore - where the shard belongs toshardId - the shard to batch get logcount - the logrgroup numcursor - the cursor to batch get logend_cursor - the end cursor to batch get logLogException - if any error happen when get the data from log service server@Deprecated public BatchGetLogResponse BatchGetLog(BatchGetLogRequest request) throws LogException
LogServiceBatchGetLog in interface LogServicerequest - the batch get log requestLogException - if any error happen when get the data from log service serverpublic PullLogsResponse pullLogs(PullLogsRequest request) throws LogException
LogServicepullLogs in interface LogServicerequest - The pull logs request.LogExceptionpublic CreateConfigResponse CreateConfig(String project, Config config) throws LogException
LogServiceCreateConfig in interface LogServiceproject - the project nameconfig - the full config resourceLogException - if any error happen when creating logtail configpublic CreateConfigResponse CreateConfig(CreateConfigRequest request) throws LogException
LogServiceCreateConfig in interface LogServicerequest - the create config requestLogException - if any error happen when creating logtail configpublic UpdateConfigResponse UpdateConfig(String project, Config config) throws LogException
LogServiceUpdateConfig in interface LogServiceproject - the project nameconfig - the full config resourceLogException - if any error happen when updating logtail configpublic UpdateConfigResponse UpdateConfig(UpdateConfigRequest request) throws LogException
LogServiceUpdateConfig in interface LogServicerequest - the update config requestLogException - if any error happen when updating logtail configprotected Config ExtractConfigFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic GetConfigResponse GetConfig(String project, String configName) throws LogException
LogServiceGetConfig in interface LogServiceproject - the project nameconfigName - the config nameLogException - if any error happen when getting logtail configpublic GetConfigResponse GetConfig(GetConfigRequest request) throws LogException
LogServiceGetConfig in interface LogServicerequest - the get config requestLogException - if any error happen when getting logtail configpublic DeleteConfigResponse DeleteConfig(String project, String configName) throws LogException
LogServiceDeleteConfig in interface LogServiceproject - the project nameconfigName - the config nameLogException - if any error happen when deleting logtail configpublic DeleteConfigResponse DeleteConfig(DeleteConfigRequest request) throws LogException
LogServiceDeleteConfig in interface LogServicerequest - the delete config requestLogException - if any error happen when deleting logtail configprotected List<String> ExtractConfigs(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListConfigResponse ListConfig(String project) throws LogException
LogServiceListConfig in interface LogServiceproject - the project nameLogException - if any error happen when listing logtail configspublic ListConfigResponse ListConfig(String project, int offset, int size) throws LogException
LogServiceListConfig in interface LogServiceproject - the project nameoffset - the list offsetsize - the query sizeLogException - if any error happen when listing logtail configspublic ListConfigResponse ListConfig(String project, String configName, int offset, int size) throws LogException
LogServiceListConfig in interface LogServiceproject - the project nameconfigName - the config nameoffset - the list offsetsize - the query sizeLogException - if any error happen when listing logtail configspublic ListConfigResponse ListConfig(String project, String configName, String logstoreName, int offset, int size) throws LogException
LogExceptionpublic ListConfigResponse ListConfig(ListConfigRequest request) throws LogException
LogServiceListConfig in interface LogServicerequest - the list configs requestLogException - if any error happen when listing logtail configspublic CreateMachineGroupResponse CreateMachineGroup(String project, MachineGroup group) throws LogException
LogServiceCreateMachineGroup in interface LogServiceproject - the project namegroup - the full machine group resourceLogException - if any error happen when creating machine grouppublic CreateMachineGroupResponse CreateMachineGroup(CreateMachineGroupRequest request) throws LogException
LogServiceCreateMachineGroup in interface LogServicerequest - the create machine group requestLogException - if any error happen when creating machine grouppublic UpdateMachineGroupResponse UpdateMachineGroup(String project, MachineGroup group) throws LogException
LogServiceUpdateMachineGroup in interface LogServiceproject - the project namegroup - the full machine group resourceLogException - if any error happen when updating machine grouppublic UpdateMachineGroupResponse UpdateMachineGroup(UpdateMachineGroupRequest request) throws LogException
LogServiceUpdateMachineGroup in interface LogServicerequest - the update machine group requestLogException - if any error happen when updating machine groupprotected MachineGroup ExtractMachineGroupFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic GetAppliedConfigResponse GetAppliedConfig(String project, String groupName) throws LogException
LogServiceGetAppliedConfig in interface LogServiceproject - the project namegroupName - the machine group nameLogException - if any error happen when get applied config configspublic GetAppliedConfigResponse GetAppliedConfig(GetAppliedConfigsRequest request) throws LogException
LogServiceGetAppliedConfig in interface LogServicerequest - get applied config requestLogException - if any error happen when get applied config configspublic GetAppliedMachineGroupsResponse GetAppliedMachineGroups(String project, String configName) throws LogException
LogServiceGetAppliedMachineGroups in interface LogServiceproject - the project nameconfigName - the config nameLogException - if any error happen when get applied config configspublic GetAppliedMachineGroupsResponse GetAppliedMachineGroups(GetAppliedMachineGroupRequest request) throws LogException
LogServiceGetAppliedMachineGroups in interface LogServicerequest - get applied machine group requestLogException - if any error happen when get applied config configspublic GetMachineGroupResponse GetMachineGroup(String project, String groupName) throws LogException
LogServiceGetMachineGroup in interface LogServiceproject - the project namegroupName - the machine group nameLogException - if any error happen when getting machine grouppublic GetMachineGroupResponse GetMachineGroup(GetMachineGroupRequest request) throws LogException
LogServiceGetMachineGroup in interface LogServicerequest - the get machine group requestLogException - if any error happen when getting machine grouppublic ListMachinesResponse ListMachines(String project, String machineGroup, int offset, int size) throws LogException
LogServiceListMachines in interface LogServiceproject - the project namemachineGroup - the machine group nameoffset - the offset in the machine groupsize - the size to getLogException - if any error happen when listing machinespublic ApproveMachineGroupResponse ApproveMachineGroup(String project, String groupName) throws LogException
LogServiceApproveMachineGroup in interface LogServiceproject - the project namegroupName - the machine group nameLogException - if any error happen when deleting machine grouppublic ApproveMachineGroupResponse ApproveMachineGroup(ApproveMachineGroupRequest request) throws LogException
LogServiceApproveMachineGroup in interface LogServicerequest - the approve machine group requestLogException - if any error happen when deleting machine grouppublic DeleteMachineGroupResponse DeleteMachineGroup(String project, String groupName) throws LogException
LogServiceDeleteMachineGroup in interface LogServiceproject - the project namegroupName - the machine group nameLogException - if any error happen when deleting machine grouppublic DeleteMachineGroupResponse DeleteMachineGroup(DeleteMachineGroupRequest request) throws LogException
LogServiceDeleteMachineGroup in interface LogServicerequest - the delete machine group requestLogException - if any error happen when deleting machine groupprotected List<String> ExtractMachineGroups(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListMachineGroupResponse ListMachineGroup(String project) throws LogException
LogServiceListMachineGroup in interface LogServiceproject - the project nameLogException - if any error happen when listing machine groupspublic ListMachineGroupResponse ListMachineGroup(String project, int offset, int size) throws LogException
LogServiceListMachineGroup in interface LogServiceproject - the project nameoffset - the list offsetsize - the query sizeLogException - if any error happen when listing machine groupspublic ListMachineGroupResponse ListMachineGroup(String project, String groupName, int offset, int size) throws LogException
LogServiceListMachineGroup in interface LogServiceproject - the project namegroupName - the machine group nameoffset - the list offsetsize - the query sizeLogException - if any error happen when listing machine groupspublic ListMachineGroupResponse ListMachineGroup(ListMachineGroupRequest request) throws LogException
LogServiceListMachineGroup in interface LogServicerequest - the list machine groups requestLogException - if any error happen when listing machine grouppublic ApplyConfigToMachineGroupResponse ApplyConfigToMachineGroup(String project, String groupName, String configName) throws LogException
LogServiceApplyConfigToMachineGroup in interface LogServiceproject - the project namegroupName - the machine group nameconfigName - the logtail config nameLogException - if any error happen when applying config to machine grouppublic ApplyConfigToMachineGroupResponse ApplyConfigToMachineGroup(ApplyConfigToMachineGroupRequest request) throws LogException
LogServiceApplyConfigToMachineGroup in interface LogServicerequest - apply config to machine group requestLogException - if any error happen when applying config to machine grouppublic RemoveConfigFromMachineGroupResponse RemoveConfigFromMachineGroup(String project, String groupName, String configName) throws LogException
LogServiceRemoveConfigFromMachineGroup in interface LogServiceproject - the project namegroupName - the machine group nameconfigName - the logtail config nameLogException - if any error happen when removing config from machine grouppublic RemoveConfigFromMachineGroupResponse RemoveConfigFromMachineGroup(RemoveConfigFromMachineGroupRequest request) throws LogException
LogServiceRemoveConfigFromMachineGroup in interface LogServicerequest - remove config from machine group requestLogException - if any error happen when removing config from machine groupprotected com.aliyun.openservices.log.http.comm.ResponseMessage SendDataWithResolveResponse(String project, com.aliyun.openservices.log.http.client.HttpMethod method, String resourceUri, Map<String,String> parameters, Map<String,String> headers, byte[] body) throws LogException
LogExceptionprotected com.aliyun.openservices.log.http.comm.ResponseMessage SendData(String project, com.aliyun.openservices.log.http.client.HttpMethod method, String resourceUri, Map<String,String> parameters, Map<String,String> headers, String requestBody) throws LogException
LogExceptionprotected com.aliyun.openservices.log.http.comm.ResponseMessage SendData(String project, com.aliyun.openservices.log.http.client.HttpMethod method, String resourceUri, Map<String,String> parameters, Map<String,String> headers, byte[] body) throws LogException
LogExceptionpublic CreateLogStoreResponse CreateLogStore(String project, LogStore logStore) throws LogException
LogServiceCreateLogStore in interface LogServiceproject - the project namelogStore - the configLogException - if any error happen when creasting logstorepublic CreateLogStoreResponse CreateLogStore(CreateLogStoreRequest request) throws LogException
LogServiceCreateLogStore in interface LogServicerequest - logstore create requestLogException - if any error happen when creasting logstorepublic CreateLinkStoreResponse CreateLinkStore(String project, LinkStore linkStore) throws LogException
LogServiceCreateLinkStore in interface LogServiceproject - the project namelinkStore - the configLogException - if any error happen when creating link storepublic CreateLinkStoreResponse CreateLinkStore(CreateLinkStoreRequest request) throws LogException
LogServiceCreateLinkStore in interface LogServicerequest - link store create requestLogException - if any error happen when creating link storepublic DeleteLogStoreResponse DeleteLogStore(String project, String logStoreName) throws LogException
LogServiceDeleteLogStore in interface LogServiceproject - the project namelogStoreName - the lostore to deleteLogException - if any error happen when deleting logstorepublic DeleteLogStoreResponse DeleteLogStore(DeleteLogStoreRequest request) throws LogException
LogServiceDeleteLogStore in interface LogServicerequest - delete logstore requestLogException - if any error happen when deleting logstorepublic DeleteLinkStoreResponse DeleteLinkStore(String project, String linkStoreName) throws LogException
LogServiceDeleteLinkStore in interface LogServiceproject - the project namelinkStoreName - the link store to deleteLogException - if any error happen when deleting link storepublic DeleteLinkStoreResponse DeleteLinkStore(DeleteLinkStoreRequest request) throws LogException
LogServiceDeleteLinkStore in interface LogServicerequest - delete link store requestLogException - if any error happen when deleting link storepublic ClearLogStoreStorageResponse ClearLogStoreStorage(String project, String logStoreName) throws LogException
LogServiceClearLogStoreStorage in interface LogServiceproject - namelogStoreName - nameClearLogStoreStorageResponseLogException - if any error occurspublic CreateProjectConsumerGroupResponse CreateProjectConsumerGroup(CreateProjectConsumerGroupRequest request) throws LogException
LogServiceCreateProjectConsumerGroup in interface LogServicerequest - contains all of parameters neededLogException - if any error happenedpublic CreateProjectConsumerGroupResponse CreateProjectConsumerGroup(String project, ProjectConsumerGroup consumerGroup) throws LogException
LogServiceCreateProjectConsumerGroup in interface LogServiceproject - project nameconsumerGroup - contains all of parameters needed by consumer groupLogException - if any error happenedpublic DeleteProjectConsumerGroupResponse DeleteProjectConsumerGroup(String project, String consumerGroup) throws LogException
LogServiceDeleteProjectConsumerGroup in interface LogServiceproject - project nameconsumerGroup - consumer group nameLogException - if any error happenedpublic ListProjectConsumerGroupResponse ListProjectConsumerGroup(String project) throws LogException
LogServiceListProjectConsumerGroup in interface LogServiceproject - project nameLogException - if any error happenedpublic UpdateProjectConsumerGroupResponse UpdateProjectConsumerGroup(String project, String consumerGroup, boolean inOrder, int timeoutInSec) throws LogException
LogServiceUpdateProjectConsumerGroup in interface LogServiceproject - project nameconsumerGroup - consumer group nameinOrder - consume data in order or nottimeoutInSec - if the time interval of a consumer's heartbeat exceed this
value in second, the consumer will be deletedLogException - if any error happenedpublic ProjectConsumerGroupUpdateCheckPointResponse UpdateProjectConsumerGroupCheckPoint(String project, String consumerGroup, String consumer, String logStore, int shard, String checkpoint) throws LogException
LogServiceUpdateProjectConsumerGroupCheckPoint in interface LogServiceproject - project nameconsumerGroup - project consumer group nameconsumer - consumer namelogStore - log store nameshard - shard idcheckpoint - shard cursorLogException - if any error happenedpublic ProjectConsumerGroupUpdateCheckPointResponse UpdateProjectConsumerGroupCheckPoint(String project, String consumerGroup, String logStore, int shard, String checkpoint) throws LogException
LogServiceUpdateProjectConsumerGroupCheckPoint in interface LogServiceproject - project nameconsumerGroup - project consumer group namelogStore - log store nameshard - shard idcheckpoint - shard cursorLogException - if any error happenedpublic ProjectConsumerGroupCheckPointResponse GetProjectConsumerGroupCheckPoint(String project, String consumerGroup, String logStore, int shard) throws LogException
LogServiceGetProjectConsumerGroupCheckPoint in interface LogServiceproject - project nameconsumerGroup - consumer group namelogStore - log store or link store nameshard - shard idLogException - if any error happenedpublic ProjectConsumerGroupCheckPointResponse GetProjectConsumerGroupCheckPoint(String project, String consumerGroup, String logStore) throws LogException
LogServiceGetProjectConsumerGroupCheckPoint in interface LogServiceproject - project nameconsumerGroup - consumer group namelogStore - log store or link store nameLogException - if any error happenedpublic ProjectConsumerGroupCheckPointResponse GetProjectConsumerGroupCheckPoint(String project, String consumerGroup) throws LogException
LogServiceGetProjectConsumerGroupCheckPoint in interface LogServiceproject - project nameconsumerGroup - consumer group nameLogException - if any error happenedpublic ProjectConsumerGroupHeartBeatResponse ProjectConsumerGroupHeartBeat(String project, String consumerGroup, String consumer, Map<String,ArrayList<Integer>> logStoreShards) throws LogException
LogServiceProjectConsumerGroupHeartBeat in interface LogServiceproject - project nameconsumerGroup - consumer group nameconsumer - consumer namelogStoreShards - log store and shards hold by the consumerLogException - if any error happenedpublic ClearLogStoreStorageResponse ClearLogStoreStorage(ClearLogStoreStorageRequest request) throws LogException
LogServiceClearLogStoreStorage in interface LogServicerequest - An instance of ClearLogStoreStorageRequestClearLogStoreStorageResponseLogException - if any error occurspublic UpdateLogStoreResponse UpdateLogStore(String project, LogStore logStore) throws LogException
LogServiceUpdateLogStore in interface LogServiceproject - the project namelogStore - the logsotre configLogException - if any error happen when updating logstorepublic UpdateLogStoreResponse UpdateLogStore(UpdateLogStoreRequest request) throws LogException
LogServiceUpdateLogStore in interface LogServicerequest - update logstore requstLogException - if any error happen when updating logstorepublic GetLogStoreResponse GetLogStore(String project, String logStoreName) throws LogException
LogServiceGetLogStore in interface LogServiceproject - the project namelogStoreName - the logstore nameLogException - if any error happen when getting logstore configpublic GetLogStoreResponse GetLogStore(GetLogStoreRequest request) throws LogException
LogServiceGetLogStore in interface LogServicerequest - the get logstore config requestLogException - if any error happen when getting logstore configpublic CreateLogStoreResponse createMetricStore(String project, LogStore metricStore) throws LogException
LogServicecreateMetricStore in interface LogServiceproject - the project namemetricStore - the configLogException - if any error happen when creasting logstorepublic CreateLogStoreResponse createMetricStore(CreateLogStoreRequest request) throws LogException
LogServicecreateMetricStore in interface LogServicerequest - logstore create requestLogException - if any error happen when creasting logstorepublic UpdateLogStoreResponse updateMetricStore(String project, LogStore metricStore) throws LogException
LogServiceupdateMetricStore in interface LogServiceproject - the project namemetricStore - the logsotre configLogException - if any error happen when updating logstorepublic UpdateLogStoreResponse updateMetricStore(UpdateLogStoreRequest request) throws LogException
LogServiceupdateMetricStore in interface LogServicerequest - update logstore requstLogException - if any error happen when updating logstorepublic DeleteLogStoreResponse deleteMetricStore(String project, String metricStoreName) throws LogException
LogServicedeleteMetricStore in interface LogServiceproject - the project namemetricStoreName - the lostore to deleteLogException - if any error happen when deleting logstorepublic DeleteLogStoreResponse deleteMetricStore(DeleteLogStoreRequest request) throws LogException
LogServicedeleteMetricStore in interface LogServicerequest - delete logstore requestLogException - if any error happen when deleting logstorepublic GetLogStoreResponse getMetricStore(String project, String metricStoreName) throws LogException
LogServicegetMetricStore in interface LogServiceproject - the project namemetricStoreName - the logstore nameLogException - if any error happen when getting logstore configpublic GetLogStoreResponse getMetricStore(GetLogStoreRequest request) throws LogException
LogServicegetMetricStore in interface LogServicerequest - the get logstore config requestLogException - if any error happen when getting logstore configpublic ListSubStoreResponse listSubStore(String project, String logstore) throws LogException
listSubStore in interface LogServiceproject - namelogstore - nameListSubStoreResponseLogException - if any error occurspublic ListSubStoreResponse listSubStore(ListSubStoreRequest request) throws LogException
listSubStore in interface LogServicerequest - An instance of ListSubStoreRequestListSubStoreResponseLogException - if any error occurspublic GetSubStoreResponse getSubStore(String project, String logstore, String subStoreName) throws LogException
getSubStore in interface LogServiceproject - namelogstore - namesubStoreName - substore nameGetSubStoreResponseLogException - if any error occurspublic GetSubStoreResponse getSubStore(GetSubStoreRequest request) throws LogException
getSubStore in interface LogServicerequest - An instance of GetSubStoreRequestGetSubStoreResponseLogException - if any error occurspublic CreateSubStoreResponse createSubStore(String project, String logStoreName, SubStore subStore) throws LogException
createSubStore in interface LogServiceproject - namelogStoreName - namesubStore - An instance of SubStoreCreateSubStoreResponseLogException - if any error occurspublic CreateSubStoreResponse createSubStore(CreateSubStoreRequest request) throws LogException
createSubStore in interface LogServicerequest - An instance of CreateSubStoreRequestCreateSubStoreResponseLogException - if any error occurspublic UpdateSubStoreResponse updateSubStore(String project, String logStoreName, SubStore subStore) throws LogException
updateSubStore in interface LogServiceproject - namelogStoreName - namesubStore - An instance of SubStoreUpdateSubStoreResponseLogException - if any error occurspublic UpdateSubStoreResponse updateSubStore(UpdateSubStoreRequest request) throws LogException
updateSubStore in interface LogServicerequest - An instance of UpdateSubStoreRequestUpdateSubStoreResponseLogException - if any error occurspublic DeleteSubStoreResponse deleteSubStore(String project, String logStoreName, String subStoreName) throws LogException
deleteSubStore in interface LogServiceproject - namelogStoreName - namesubStoreName - subStore nameDeleteSubStoreResponseLogException - if any error occurspublic DeleteSubStoreResponse deleteSubStore(DeleteSubStoreRequest request) throws LogException
deleteSubStore in interface LogServicerequest - An instance of DeleteSubStoreRequestDeleteSubStoreResponseLogException - if any error occurspublic GetSubStoreTTLResponse getSubStoreTTL(String project, String logstoreName) throws LogException
getSubStoreTTL in interface LogServiceproject - namelogstoreName - nameGetSubStoreTTLResponseLogException - if any error occurspublic GetSubStoreTTLResponse getSubStoreTTL(GetSubStoreTTLResquest request) throws LogException
getSubStoreTTL in interface LogServicerequest - An instance of GetSubStoreTTLResquestGetSubStoreTTLResponseLogException - if any error occurspublic UpdateSubStoreTTLResponse updateSubStoreTTL(String project, String logstore, int ttl) throws LogException
updateSubStoreTTL in interface LogServiceproject - namelogstore - namettl - ttlUpdateSubStoreTTLResponseLogException - if any error occurspublic UpdateSubStoreTTLResponse updateSubStoreTTL(UpdateSubStoreTTLRequest request) throws LogException
updateSubStoreTTL in interface LogServicerequest - An instance of UpdateSubStoreTTLRequestUpdateSubStoreTTLResponseLogException - if any error occurspublic ListLogStoresResponse listLogStores(String project, int offset, int size, String logstoreName, String telemetryType) throws LogException
listLogStores in interface LogServiceproject - nameoffset - offsetsize - sizelogstoreName - logstore nametelemetryType - telemetry typeListLogStoresResponseLogException - if any error occurspublic CreateExternalStoreResponse createExternalStore(CreateExternalStoreRequest request) throws LogException
LogExceptionpublic DeleteExternalStoreResponse deleteExternalStore(DeleteExternalStoreRequest request) throws LogException
LogExceptionpublic UpdateExternalStoreResponse updateExternalStore(UpdateExternalStoreRequest request) throws LogException
LogExceptionpublic GetExternalStoreResponse getExternalStore(GetExternalStoreRequest request) throws LogException
LogExceptionpublic ListExternalStroesResponse listExternalStores(ListExternalStoresRequest request) throws LogException
LogExceptionpublic CreateCsvExternalStoreResponse createCsvExternalStore(CreateCsvExternalStoreRequest request) throws LogException
LogExceptionpublic UpdateCsvExternalStoreResponse updateCsvExternalStore(UpdateCsvExternalStoreRequest request) throws LogException
LogExceptionpublic GetCsvExternalStoreResponse getCsvExternalStore(GetCsvExternalStoreRequest request) throws LogException
LogExceptionpublic DeleteExternalStoreResponse deleteCsvExternalStore(DeleteExternalStoreRequest request) throws LogException
LogExceptionpublic CreateIndexResponse CreateIndex(String project, String logStore, String indexJsonString) throws LogException
LogServiceCreateIndex in interface LogServiceproject - the project namelogStore - the logstore nameindexJsonString - logstore indexJsonStringLogException - if any error happen when creating indexpublic CreateIndexResponse CreateIndex(String project, String logStore, Index index) throws LogException
LogServiceCreateIndex in interface LogServiceproject - the project namelogStore - the logstore nameindex - logstore index configLogException - if any error happen when creating indexpublic CreateIndexResponse CreateIndex(CreateIndexRequest request) throws LogException
LogServiceCreateIndex in interface LogServicerequest - the create logstore index requestLogException - if any error happen when creating indexpublic UpdateIndexResponse UpdateIndex(String project, String logStore, String indexJsonString) throws LogException
LogServiceUpdateIndex in interface LogServiceproject - project namelogStore - logstore nameindexJsonString - logstore indexJsonStringLogException - if any error happen when updating logstore index configpublic UpdateIndexResponse UpdateIndex(String project, String logStore, Index index) throws LogException
LogServiceUpdateIndex in interface LogServiceproject - project namelogStore - logstore nameindex - logstore index configLogException - if any error happen when updating logstore index configpublic UpdateIndexResponse UpdateIndex(UpdateIndexRequest request) throws LogException
LogServiceUpdateIndex in interface LogServicerequest - update logstore index requestLogException - if any error happen when update logstore index configpublic DeleteIndexResponse DeleteIndex(String project, String logStore) throws LogException
LogServiceDeleteIndex in interface LogServiceproject - project namelogStore - store nameLogException - if any error happen when deleting logstore index configpublic DeleteIndexResponse DeleteIndex(DeleteIndexRequest request) throws LogException
LogServiceDeleteIndex in interface LogServicerequest - delete logstore index configLogException - if any error happen when deleting logstore index configpublic GetIndexResponse GetIndex(String project, String logStore) throws LogException
LogServiceGetIndex in interface LogServiceproject - project namelogStore - logstore nameLogException - if any error happen when get index configpublic GetIndexStringResponse GetIndexString(String project, String logStore) throws LogException
GetIndexString in interface LogServiceLogExceptionpublic GetIndexResponse GetIndex(GetIndexRequest request) throws LogException
LogServiceGetIndex in interface LogServicerequest - get logstore index requestLogException - if any error happen when getting index configpublic GetIndexStringResponse GetIndexString(GetIndexRequest request) throws LogException
GetIndexString in interface LogServiceLogExceptionpublic CreateShipperResponse CreateShipper(String project, String logStore, String shipperName, ShipperConfig shipConfig) throws LogException
LogServiceCreateShipper in interface LogServiceproject - project namelogStore - logstore nameshipperName - shipper nameshipConfig - the OssShipperConfigLogException - if any error happenedpublic UpdateShipperResponse UpdateShipper(String project, String logStore, String shipperName, ShipperConfig shipConfig) throws LogException
LogServiceUpdateShipper in interface LogServiceproject - project namelogStore - logstore nameshipperName - shipper nameshipConfig - the OssShipperConfig or OdpsShipperConfigLogException - if any error happenedpublic DeleteShipperResponse DeleteShipper(String project, String logStore, String shipperName) throws LogException
LogServiceDeleteShipper in interface LogServiceproject - project namelogStore - logstore nameshipperName - shipper nameLogException - if any error happenedpublic GetShipperResponse GetShipperConfig(String project, String logStore, String shipperName) throws LogException
LogServiceGetShipperConfig in interface LogServiceproject - project namelogStore - logstore nameshipperName - shipper nameLogException - if any error happenedpublic ListShipperResponse ListShipper(String project, String logStore) throws LogException
LogServiceListShipper in interface LogServiceproject - project namelogStore - logstore nameLogException - if any error happenedpublic GetShipperTasksResponse GetShipperTasks(String project, String logStore, String shipperName, int startTime, int endTime, String statusType, int offset, int size) throws LogException
LogServiceGetShipperTasks in interface LogServiceproject - project namelogStore - logstore nameshipperName - shipper namestartTime - the start time in timestamp (from 1970.1.1)endTime - the end timestatusType - one of ['', 'success', 'running', 'fail'], if statusType is
'', return all tasksoffset - the offsetsize - the task countLogException - if any error happenedpublic RetryShipperTasksResponse RetryShipperTasks(String project, String logStore, String shipperName, List<String> taskList) throws LogException
LogServiceRetryShipperTasks in interface LogServiceproject - project namelogStore - logstore nameshipperName - shipper nametaskList - failed task id listLogException - if any error happenedpublic CreateConsumerGroupResponse CreateConsumerGroup(String project, String logStore, ConsumerGroup consumerGroup) throws LogException
LogServiceCreateConsumerGroup in interface LogServiceproject - project namelogStore - logstore nameconsumerGroup - contains all of the parameters needed by consumer groupLogException - if any error happenedpublic CreateConsumerGroupResponse CreateConsumerGroup(CreateConsumerGroupRequest request) throws LogException
LogServiceCreateConsumerGroup in interface LogServicerequest - contains all of the parameters neededLogException - if any error happenedprotected UpdateConsumerGroupResponse UpdateConsumerGroup(String project, String logStore, String consumerGroup, Boolean inOrder, Integer timeoutInSec) throws LogException
LogExceptionpublic UpdateConsumerGroupResponse UpdateConsumerGroup(String project, String logStore, String consumerGroup, boolean inOrder, int timeoutInSec) throws LogException
LogServiceUpdateConsumerGroup in interface LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameinOrder - consume data in oder or nottimeoutInSec - if the time interval of a consumer's heartbeat exceed this
value in second, the consumer will be deleted.LogException - if any error happenedpublic UpdateConsumerGroupResponse UpdateConsumerGroup(String project, String logStore, String consumerGroup, boolean inOrder) throws LogException
LogServiceUpdateConsumerGroup in interface LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameinOrder - consume data in oder or notLogException - if any error happenedpublic UpdateConsumerGroupResponse UpdateConsumerGroup(String project, String logStore, String consumerGroup, int timeoutInSec) throws LogException
LogServiceUpdateConsumerGroup in interface LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nametimeoutInSec - if the time interval of a consumer's heartbeat exceed this
value in second, the consumer will be deleted.LogException - if any error happenedpublic DeleteConsumerGroupResponse DeleteConsumerGroup(String project, String logStore, String consumerGroup) throws LogException
LogServiceDeleteConsumerGroup in interface LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameLogException - if any error happenedpublic ListConsumerGroupResponse ListConsumerGroup(String project, String logStore) throws LogException
LogServiceListConsumerGroup in interface LogServiceproject - project namelogStore - logstore nameLogException - if any error happenedpublic ConsumerGroupUpdateCheckPointResponse UpdateCheckPoint(String project, String logStore, String consumerGroup, String consumer, int shard, String checkpoint) throws LogException
LogServiceUpdateCheckPoint in interface LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameconsumer - consumer nameshard - shard idcheckpoint - shard cursorLogException - if any error happenedpublic ConsumerGroupUpdateCheckPointResponse UpdateCheckPoint(String project, String logStore, String consumerGroup, int shard, String checkpoint) throws LogException
LogServiceUpdateCheckPoint in interface LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameshard - shard idcheckpoint - shard cursorLogException - if any error happenedprotected ConsumerGroupUpdateCheckPointResponse UpdateCheckPoint(String project, String logStore, String consumerGroup, String consumer, int shard, String checkpoint, boolean forceSuccess) throws LogException
LogExceptionpublic ConsumerGroupHeartBeatResponse HeartBeat(String project, String logStore, String consumerGroup, String consumer, List<Integer> shards) throws LogException
LogServiceHeartBeat in interface LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameconsumer - consumer nameshards - shards hold by the consumerLogException - if any error happenedprotected void ExtractShards(com.alibaba.fastjson.JSONArray array,
String requestId,
List<Integer> shards)
throws LogException
LogExceptionpublic GetCheckPointResponse getCheckpoint(String project, String logstore, String consumerGroup, int shard) throws LogException
getCheckpoint in interface LogServiceLogExceptionpublic ConsumerGroupCheckPointResponse GetCheckPoint(String project, String logStore, String consumerGroup) throws LogException
LogServiceGetCheckPoint in interface LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameLogException - if any error happened@Deprecated public ConsumerGroupCheckPointResponse GetCheckPoint(String project, String logStore, String consumerGroup, int shard) throws LogException
LogServiceGetCheckPoint in interface LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameshard - shard idLogException - if any error happenedpublic CreateProjectResponse CreateProject(String project, String projectDescription) throws LogException
LogServiceCreateProject in interface LogServiceproject - project nameprojectDescription - project descriptionLogException - if any error happenedpublic CreateProjectResponse createProject(String project, String projectDescription, String resourceGroupId) throws LogException
createProject in interface LogServiceLogExceptionpublic CreateProjectResponse createProject(CreateProjectRequest request) throws LogException
createProject in interface LogServiceLogExceptionpublic GetProjectResponse GetProject(String project) throws LogException
LogServiceGetProject in interface LogServiceproject - project nameLogException - if any error happenedpublic DeleteProjectResponse DeleteProject(String project) throws LogException
LogServiceDeleteProject in interface LogServiceproject - project nameLogException - if any error happenedpublic UpdateProjectResponse updateProject(UpdateProjectRequest request) throws LogException
LogServiceupdateProject in interface LogServicerequest - The parameters used to update project.UpdateProjectResponseLogExceptionpublic ChangeResourceGroupResponse changeResourceGroup(String resourceType, String resourceId, String resourceGroupId) throws LogException
changeResourceGroup in interface LogServiceLogExceptionpublic UpdateMachineGroupMachineResponse AddMachineIntoMahineGroup(String project, String groupName, MachineList machineList) throws LogException
LogServiceAddMachineIntoMahineGroup in interface LogServiceproject - the project namegroupName - the machine group namemachineList - machine id listLogException - if any error happen when adding machine into machine grouppublic UpdateMachineGroupMachineResponse AddMachineIntoMachineGroup(UpdateMachineGroupMachineRequest request) throws LogException
LogServiceAddMachineIntoMachineGroup in interface LogServicerequest - update machine group resourceLogException - if any error happen when adding machine into machine grouppublic UpdateMachineGroupMachineResponse DeleteMachineFromMachineGroup(String project, String groupName, MachineList machineList) throws LogException
LogServiceDeleteMachineFromMachineGroup in interface LogServiceproject - the project namegroupName - the machine group namemachineList - machine id listLogException - if any error happen when adding machine into machine grouppublic UpdateMachineGroupMachineResponse DeleteMachineFromMachineGroup(UpdateMachineGroupMachineRequest request) throws LogException
LogServiceDeleteMachineFromMachineGroup in interface LogServicerequest - update machine group machine resourceLogException - if any error happen when adding machine into machine groupprotected UpdateMachineGroupMachineResponse UpdateMachineGroupMachine(String project, String groupName, MachineList machineList, boolean isDelete) throws LogException
LogExceptionpublic ListProjectResponse ListProject() throws LogException
LogServiceListProject in interface LogServiceLogException - if any error happenedpublic ListProjectResponse ListProject(String projectName, int offset, int size) throws LogException
LogServiceListProject in interface LogServiceprojectName - project nameoffset - offsetsize - sizeLogException - if any error happenedpublic ListProjectResponse ListProject(ListProjectRequest request) throws LogException
LogServiceListProject in interface LogServicerequest - request classLogException - if any error happenedpublic CreateChartResponse createChart(CreateChartRequest request) throws LogException
createChart in interface LogServiceLogExceptionpublic UpdateChartResponse updateChart(UpdateChartRequest request) throws LogException
updateChart in interface LogServiceLogExceptionpublic DeleteChartResponse deleteChart(DeleteChartRequest request) throws LogException
deleteChart in interface LogServiceLogExceptionprotected Chart ExtractChartFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic GetChartResponse getChart(GetChartRequest request) throws LogException
getChart in interface LogServiceLogExceptionpublic CreateDashboardResponse createDashboard(CreateDashboardRequest request) throws LogException
createDashboard in interface LogServiceLogExceptionpublic UpdateDashboardResponse updateDashboard(UpdateDashboardRequest request) throws LogException
updateDashboard in interface LogServiceLogExceptionpublic DeleteDashboardResponse deleteDashboard(DeleteDashboardRequest request) throws LogException
deleteDashboard in interface LogServiceLogExceptionprotected Dashboard ExtractDashboardFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic GetDashboardResponse getDashboard(GetDashboardRequest request) throws LogException
getDashboard in interface LogServiceLogExceptionprotected List<Dashboard> ExtractDashboards(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListDashboardResponse listDashboard(ListDashboardRequest request) throws LogException
listDashboard in interface LogServiceLogExceptionpublic CreateSavedSearchResponse createSavedSearch(CreateSavedSearchRequest request) throws LogException
LogServicecreateSavedSearch in interface LogServicerequest - request classLogException - if any error happenedpublic UpdateSavedSearchResponse updateSavedSearch(UpdateSavedSearchRequest request) throws LogException
LogServiceupdateSavedSearch in interface LogServicerequest - request classLogException - if any error happenedpublic DeleteSavedSearchResponse deleteSavedSearch(DeleteSavedSearchRequest request) throws LogException
LogServicedeleteSavedSearch in interface LogServicerequest - request classLogException - if any error happenedprotected SavedSearch ExtractSavedSearchFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic GetSavedSearchResponse getSavedSearch(GetSavedSearchRequest request) throws LogException
LogServicegetSavedSearch in interface LogServicerequest - request classLogException - if any error happenedprotected List<SavedSearch> ExtractSavedSearches(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListSavedSearchResponse listSavedSearch(ListSavedSearchRequest request) throws LogException
LogServicelistSavedSearch in interface LogServicerequest - request classLogException - if any error happenedpublic CreateDomainResponse createDomain(String project, Domain domain) throws LogException
createDomain in interface LogServiceLogExceptionpublic CreateDomainResponse createDomain(CreateDomainRequest request) throws LogException
createDomain in interface LogServiceLogExceptionpublic DeleteDomainResponse deleteDomain(String project, String domainName) throws LogException
deleteDomain in interface LogServiceLogExceptionpublic DeleteDomainResponse deleteDomain(DeleteDomainRequest request) throws LogException
deleteDomain in interface LogServiceLogExceptionpublic ListDomainsResponse listDomains(String project, String domainName, int offset, int size) throws LogException
listDomains in interface LogServiceLogExceptionprotected List<Domain> ExtractDomains(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListDomainsResponse listDomains(ListDomainsRequest request) throws LogException
listDomains in interface LogServiceLogExceptionpublic CreateIngestionResponse createIngestion(CreateIngestionRequest request) throws LogException
createIngestion in interface LogServiceLogExceptionpublic UpdateIngestionResponse updateIngestion(UpdateIngestionRequest request) throws LogException
updateIngestion in interface LogServiceLogExceptionpublic DeleteIngestionResponse deleteIngestion(DeleteIngestionRequest request) throws LogException
deleteIngestion in interface LogServiceLogExceptionpublic GetIngestionResponse getIngestion(GetIngestionRequest request) throws LogException
getIngestion in interface LogServiceLogExceptionpublic ListIngestionResponse listIngestion(ListIngestionRequest request) throws LogException
listIngestion in interface LogServiceLogExceptionpublic StopIngestionResponse stopIngestion(StopIngestionRequest request) throws LogException
stopIngestion in interface LogServiceLogExceptionpublic StartIngestionResponse startIngestion(StartIngestionRequest request) throws LogException
startIngestion in interface LogServiceLogExceptionpublic StartIngestionResponse restartIngestion(RestartIngestionRequest request) throws LogException
restartIngestion in interface LogServiceLogExceptionpublic CreateRebuildIndexResponse createRebuildIndex(CreateRebuildIndexRequest request) throws LogException
createRebuildIndex in interface LogServiceLogExceptionpublic GetRebuildIndexResponse getRebuildIndex(GetRebuildIndexRequest request) throws LogException
getRebuildIndex in interface LogServiceLogExceptionpublic DeleteRebuildIndexResponse deleteRebuildIndex(DeleteRebuildIndexRequest request) throws LogException
deleteRebuildIndex in interface LogServiceLogExceptionpublic ListRebuildIndexResponse listRebuildIndex(ListRebuildIndexRequest request) throws LogException
listRebuildIndex in interface LogServiceLogExceptionpublic StopRebuildIndexResponse stopRebuildIndex(StopRebuildIndexRequest request) throws LogException
stopRebuildIndex in interface LogServiceLogExceptionpublic CreateAuditJobResponse createAuditJob(CreateAuditJobRequest request) throws LogException
createAuditJob in interface LogServiceLogExceptionpublic UpdateAuditJobResponse updateAuditJob(UpdateAuditJobRequest request) throws LogException
updateAuditJob in interface LogServiceLogExceptionpublic GetAuditJobResponse getAuditJob(GetAuditJobRequest request) throws LogException
getAuditJob in interface LogServiceLogExceptionpublic DeleteAuditJobResponse deleteAuditJob(DeleteAuditJobRequest request) throws LogException
deleteAuditJob in interface LogServiceLogExceptionpublic ListAuditJobResponse listAuditJob(ListAuditJobRequest request) throws LogException
listAuditJob in interface LogServiceLogExceptionpublic StopAuditJobResponse stopAuditJob(StopAuditJobRequest request) throws LogException
stopAuditJob in interface LogServiceLogExceptionpublic CreateTopostoreResponse createTopostore(CreateTopostoreRequest request) throws LogException
createTopostore in interface LogServiceLogExceptionpublic UpdateTopostoreResponse updateTopostore(UpdateTopostoreRequest request) throws LogException
updateTopostore in interface LogServiceLogExceptionprotected Topostore extractTopostoreFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionprotected List<Topostore> extractTopostores(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic GetTopostoreResponse getTopostore(GetTopostoreRequest request) throws LogException
getTopostore in interface LogServiceLogExceptionpublic ListTopostoreResponse listTopostore(ListTopostoreRequest request) throws LogException
listTopostore in interface LogServiceLogExceptionpublic DeleteTopostoreResponse deleteTopostore(DeleteTopostoreRequest request) throws LogException
deleteTopostore in interface LogServiceLogExceptionpublic CreateTopostoreNodeResponse createTopostoreNode(CreateTopostoreNodeRequest request) throws LogException
createTopostoreNode in interface LogServiceLogExceptionpublic UpdateTopostoreNodeResponse updateTopostoreNode(UpdateTopostoreNodeRequest request) throws LogException
updateTopostoreNode in interface LogServiceLogExceptionpublic DeleteTopostoreNodeResponse deleteTopostoreNode(DeleteTopostoreNodeRequest request) throws LogException
deleteTopostoreNode in interface LogServiceLogExceptionprotected TopostoreNode extractTopostoreNodeFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic GetTopostoreNodeResponse getTopostoreNode(GetTopostoreNodeRequest request) throws LogException
LogExceptionprotected List<TopostoreNode> extractTopostoreNodesFromResponse(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListTopostoreNodeResponse listTopostoreNode(ListTopostoreNodeRequest request) throws LogException
listTopostoreNode in interface LogServiceLogExceptionpublic UpsertTopostoreNodeResponse upsertTopostoreNode(UpsertTopostoreNodeRequest request) throws LogException
upsertTopostoreNode in interface LogServiceLogExceptionpublic CreateTopostoreRelationResponse createTopostoreRelation(CreateTopostoreRelationRequest request) throws LogException
createTopostoreRelation in interface LogServiceLogExceptionpublic UpdateTopostoreRelationResponse updateTopostoreRelation(UpdateTopostoreRelationRequest request) throws LogException
updateTopostoreRelation in interface LogServiceLogExceptionpublic DeleteTopostoreRelationResponse deleteTopostoreRelation(DeleteTopostoreRelationRequest request) throws LogException
deleteTopostoreRelation in interface LogServiceLogExceptionprotected TopostoreRelation extractTopostoreRelationFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic GetTopostoreRelationResponse getTopostoreRelation(GetTopostoreRelationRequest request) throws LogException
LogExceptionprotected List<TopostoreRelation> extractTopostoreRelationsFromResponse(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListTopostoreRelationResponse listTopostoreRelation(ListTopostoreRelationRequest request) throws LogException
listTopostoreRelation in interface LogServiceLogExceptionpublic UpsertTopostoreRelationResponse upsertTopostoreRelation(UpsertTopostoreRelationRequest request) throws LogException
upsertTopostoreRelation in interface LogServiceLogExceptionpublic List<Set<String>> traverseNodeRelations(Map<String,List<TopostoreRelation>> nodeRelationMap, String direction, String nodeId, long depth, boolean depthMode, List<String> relationTypes)
public ListTopostoreNodeRelationResponse listTopostoreNodeRelations(ListTopostoreNodeRelationRequest request) throws LogException
LogExceptionpublic CreateResourceResponse createResource(CreateResourceRequest request) throws LogException
createResource in interface LogServiceLogExceptionpublic UpdateResourceResponse updateResource(UpdateResourceRequest request) throws LogException
updateResource in interface LogServiceLogExceptionpublic DeleteResourceResponse deleteResource(DeleteResourceRequest request) throws LogException
deleteResource in interface LogServiceLogExceptionpublic GetResourceResponse getResource(GetResourceRequest request) throws LogException
getResource in interface LogServiceLogExceptionprotected Resource extractResourceFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic ListResourceResponse listResource(ListResourceRequest request) throws LogException
listResource in interface LogServiceLogExceptionprotected List<Resource> extractResources(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic CreateResourceRecordResponse createResourceRecord(CreateResourceRecordRequest request) throws LogException
createResourceRecord in interface LogServiceLogExceptionpublic UpsertResourceRecordResponse upsertResourceRecord(UpsertResourceRecordRequest request) throws LogException
upsertResourceRecord in interface LogServiceLogExceptionpublic UpdateResourceRecordResponse updateResourceRecord(UpdateResourceRecordRequest request) throws LogException
updateResourceRecord in interface LogServiceLogExceptionpublic DeleteResourceRecordResponse deleteResourceRecord(DeleteResourceRecordRequest request) throws LogException
deleteResourceRecord in interface LogServiceLogExceptionpublic GetResourceRecordResponse getResourceRecord(GetResourceRecordRequest request) throws LogException
getResourceRecord in interface LogServiceLogExceptionprotected ResourceRecord extractResourceRecordFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic ListResourceRecordResponse listResourceRecord(ListResourceRecordRequest request) throws LogException
listResourceRecord in interface LogServiceLogExceptionpublic ListNextResourceRecordResponse listNextResourceRecord(ListNextResourceRecordRequest request) throws LogException
listNextResourceRecord in interface LogServiceLogExceptionprotected List<ResourceRecord> extractResourceRecords(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic StartAuditJobResponse startAuditJob(StartAuditJobRequest request) throws LogException
startAuditJob in interface LogServiceLogExceptionpublic UpdateAlertResponse updateAlert(UpdateAlertRequest request) throws LogException
LogServiceupdateAlert in interface LogServicerequest - request classLogException - if any error happenedpublic DeleteAlertResponse deleteAlert(DeleteAlertRequest request) throws LogException
LogServicedeleteAlert in interface LogServicerequest - request classLogException - if any error happenedpublic GetAlertResponse getAlert(GetAlertRequest request) throws LogException
LogServicegetAlert in interface LogServicerequest - request classLogException - if any error happenedpublic ListAlertResponse listAlert(ListAlertRequest request) throws LogException
LogServicelistAlert in interface LogServicerequest - request classLogException - if any error happenedpublic CreateReportResponse createReport(CreateReportRequest request) throws LogException
createReport in interface LogServiceLogExceptionpublic GetReportResponse getReport(GetReportRequest request) throws LogException
getReport in interface LogServiceLogExceptionpublic UpdateReportResponse updateReport(UpdateReportRequest request) throws LogException
updateReport in interface LogServiceLogExceptionpublic DeleteReportResponse deleteReport(DeleteReportRequest request) throws LogException
deleteReport in interface LogServiceLogExceptionpublic ListReportResponse listReport(ListReportRequest request) throws LogException
listReport in interface LogServiceLogExceptionpublic EnableReportResponse enableReport(EnableReportRequest request) throws LogException
enableReport in interface LogServiceLogExceptionpublic DisableReportResponse disableReport(DisableReportRequest request) throws LogException
disableReport in interface LogServiceLogExceptionpublic SetLogstoreReplicationResponse setLogstoreReplication(String project, String logStore, boolean enable) throws LogException
setLogstoreReplication in interface LogServiceLogExceptionpublic SetLogstoreReplicationResponse setLogstoreReplication(SetLogstoreReplicationRequest request) throws LogException
setLogstoreReplication in interface LogServiceLogExceptionpublic GetLogstoreReplicationResponse getLogstoreReplication(String project, String logStore) throws LogException
getLogstoreReplication in interface LogServiceLogExceptionpublic GetLogstoreReplicationResponse getLogstoreReplication(GetLogstoreReplicationRequest request) throws LogException
getLogstoreReplication in interface LogServiceLogExceptionpublic CreateEtlJobResponse createEtlJob(CreateEtlJobRequest request) throws LogException
createEtlJob in interface LogServicerequest - CreateEtlJobRequestLogExceptionpublic DeleteEtlJobResponse deleteEtlJob(DeleteEtlJobRequest request) throws LogException
deleteEtlJob in interface LogServicerequest - DeleteEtlJobRequestLogExceptionpublic UpdateEtlJobResponse updateEtlJob(UpdateEtlJobRequest request) throws LogException
updateEtlJob in interface LogServicerequest - UpdateEtlJobRequestLogExceptionpublic GetEtlJobResponse getEtlJob(GetEtlJobRequest request) throws LogException
getEtlJob in interface LogServicerequest - GetEtlJobRequestLogExceptionpublic ListEtlJobResponse listEtlJob(ListEtlJobRequest request) throws LogException
listEtlJob in interface LogServicerequest - ListEtlJobRequestLogExceptionpublic CreateEtlMetaResponse createEtlMeta(String project, EtlMeta etlMeta) throws LogException
createEtlMeta in interface LogServiceproject - project nameetlMeta - etlMeta which contains the metaName/metaKey/metaTag/metaValueLogException - if any error happenedpublic CreateEtlMetaResponse batchCreateEtlMeta(String project, ArrayList<EtlMeta> etlMetaList) throws LogException
batchCreateEtlMeta in interface LogServiceproject - project nameetlMetaList - List of etlMeta which contains the metaName/metaKey/metaTag/metaValue, List size shoud be [1, 50]LogException - if any error happenedpublic DeleteEtlMetaResponse deleteEtlMeta(String project, String etlMetaName, String etlMetaKey) throws LogException
LogServicedeleteEtlMeta in interface LogServiceproject - project nameetlMetaName - etl meta nameetlMetaKey - etl meta keyLogException - if any error happenedpublic DeleteEtlMetaResponse deleteEtlMeta(String project, String etlMetaName, String etlMetaKey, String etlMetaTag) throws LogException
LogServicedeleteEtlMeta in interface LogServiceproject - project nameetlMetaName - etl meta nameetlMetaKey - etl meta keyetlMetaTag - etl meta tagLogException - if any error happenedpublic BatchModifyEtlMetaStatusResponse batchModifyEtlMetaStatus(String project, String etlMetaName, String etlMetaTag, Consts.BatchModifyEtlMetaType type) throws LogException
LogServicebatchModifyEtlMetaStatus in interface LogServiceproject - project nameetlMetaName - etl meta nameetlMetaTag - etl meta tagtype - delete/enable/disableLogException - if any error happenedpublic BatchModifyEtlMetaStatusResponse batchModifyEtlMetaStatus(String project, String etlMetaName, ArrayList<String> etlMetaKeyList, Consts.BatchModifyEtlMetaType type) throws LogException
LogServicebatchModifyEtlMetaStatus in interface LogServiceproject - project nameetlMetaName - etl meta nameetlMetaKeyList - List of etl meta keytype - delete/enable/disableLogException - if any error happenedpublic BatchModifyEtlMetaStatusResponse batchModifyEtlMetaStatus(String project, String etlMetaName, ArrayList<String> etlMetaKeyList, String etlMetaTag, Consts.BatchModifyEtlMetaType type) throws LogException
LogServicebatchModifyEtlMetaStatus in interface LogServiceproject - project nameetlMetaName - etl meta nameetlMetaKeyList - List of etl meta keyetlMetaTag - etl meta tagtype - delete/enable/disableLogException - if any error happenedpublic UpdateEtlMetaResponse updateEtlMeta(String project, EtlMeta etlMeta) throws LogException
updateEtlMeta in interface LogServiceproject - project nameetlMeta - etlMeta which contains the metaName/metaKey/metaTag/metaValueLogException - if any error happenedpublic UpdateEtlMetaResponse batchUpdateEtlMeta(String project, ArrayList<EtlMeta> etlMetaList) throws LogException
batchUpdateEtlMeta in interface LogServiceproject - project nameetlMetaList - List of etlMeta which contains the metaName/metaKey/metaTag/metaValue, List size should be [1, 50]LogException - if any error happenedpublic ListEtlMetaNameResponse listEtlMetaName(String project, int offset, int size) throws LogException
listEtlMetaName in interface LogServiceproject - project nameoffset - should greater than 0size - [1, 200]LogException - if any error happenedpublic ListEtlMetaResponse listEtlMeta(String project, String etlMetaName, int offset, int size) throws LogException
listEtlMeta in interface LogServiceproject - project nameetlMetaName - etl meta nameoffset - should greater than 0size - [1, 200]LogException - if any error happenedpublic ListEtlMetaResponse listEtlMeta(String project, String etlMetaName, String etlMetaTag, int offset, int size) throws LogException
listEtlMeta in interface LogServiceproject - project nameetlMetaName - etl meta nameetlMetaTag - etl meta tag, useful to filter lots of meta keysoffset - should greater than 0size - [1, 200]LogException - if any error happenedpublic ListEtlMetaResponse listEtlMeta(String project, String etlMetaName, String dispatchProject, String dispatchLogstore, int offset, int size) throws LogException
listEtlMeta in interface LogServiceproject - project nameetlMetaName - etl meta namedispatchProject - project name in meta value, only used by sls.console.aliyun.comdispatchLogstore - logstore name in meta value, only used by sls.console.aliyun.comoffset - should greater than 0size - [1, 200]LogException - if any error happenedpublic ListEtlMetaResponse getEtlMeta(String project, String etlMetaName, String etlMetaKey) throws LogException
getEtlMeta in interface LogServiceproject - project nameetlMetaName - etl meta nameetlMetaKey - etl meta keyLogException - if any error happenedpublic CreateLoggingResponse createLogging(CreateLoggingRequest request) throws LogException
LogServicecreateLogging in interface LogServicerequest - An instance of CreateLoggingRequestCreateLoggingResponseLogException - if any error occurspublic UpdateLoggingResponse updateLogging(UpdateLoggingRequest request) throws LogException
LogServiceupdateLogging in interface LogServicerequest - An instance of UpdateLoggingRequestUpdateLoggingResponseLogException - if any error occurspublic GetLoggingResponse getLogging(GetLoggingRequest request) throws LogException
LogServicegetLogging in interface LogServicerequest - An instance of GetLoggingRequestGetLoggingResponseLogException - if any error occurspublic DeleteLoggingResponse deleteLogging(DeleteLoggingRequest request) throws LogException
LogServicedeleteLogging in interface LogServicerequest - An instance of DeleteLoggingRequestDeleteLoggingResponseLogException - if any error occurspublic CreateJobResponse createJob(CreateJobRequest request) throws LogException
LogServicecreateJob in interface LogServicerequest - An instance of CreateJobRequestCreateJobResponse if successLogException - if any error occurspublic CreateAlertResponse createAlert(CreateAlertRequest request) throws LogException
LogServicecreateAlert in interface LogServicerequest - An instance of CreateAlertRequestLogExceptionpublic GetJobResponse getJob(GetJobRequest request) throws LogException
LogServicegetJob in interface LogServicerequest - An instance of GetJobRequestGetJobResponseLogException - if any error occurspublic UpdateJobResponse updateJob(UpdateJobRequest request) throws LogException
LogServiceupdateJob in interface LogServicerequest - An instance of UpdateJobRequestUpdateJobResponseLogException - if any error occurspublic DeleteJobResponse deleteJob(DeleteJobRequest request) throws LogException
LogServicedeleteJob in interface LogServicerequest - An instance of DeleteJobRequestDeleteJobResponseLogException - if any error occurspublic EnableJobResponse enableJob(EnableJobRequest request) throws LogException
LogServiceenableJob in interface LogServicerequest - An instance of EnableJobRequestEnableJobResponseLogException - if any error occurspublic EnableAlertResponse enableAlert(EnableAlertRequest request) throws LogException
LogServiceenableAlert in interface LogServiceLogExceptionpublic DisableJobResponse disableJob(DisableJobRequest request) throws LogException
LogServicedisableJob in interface LogServicerequest - An instance of DisableJobRequestDisableJobResponseLogException - if any error occurspublic DisableAlertResponse disableAlert(DisableAlertRequest request) throws LogException
disableAlert in interface LogServiceLogExceptionpublic ListJobsResponse listJobs(ListJobsRequest request) throws LogException
LogServicelistJobs in interface LogServicerequest - An instance of ListJobsRequestListJobsResponseLogException - if any error occurspublic CreateETLV2Response createETLV2(CreateETLV2Request request) throws LogException
createETLV2 in interface LogServiceLogExceptionpublic UpdateETLV2Response updateETLV2(UpdateETLV2Request request) throws LogException
updateETLV2 in interface LogServiceLogExceptionpublic DeleteETLV2Response deleteETLV2(DeleteETLV2Request request) throws LogException
deleteETLV2 in interface LogServiceLogExceptionpublic GetETLV2Response getETLV2(GetETLV2Request request) throws LogException
getETLV2 in interface LogServiceLogExceptionpublic ListETLV2Response listETLV2(ListETLV2Request request) throws LogException
listETLV2 in interface LogServiceLogExceptionpublic StopETLV2Response stopETLV2(StopETLV2Request request) throws LogException
stopETLV2 in interface LogServiceLogExceptionpublic StartETLV2Response startETLV2(StartETLV2Request request) throws LogException
startETLV2 in interface LogServiceLogExceptionpublic ReStartETLV2Response reStartETLV2(ReStartETLV2Request request) throws LogException
reStartETLV2 in interface LogServiceLogExceptionpublic CreateExportResponse createExport(CreateExportRequest request) throws LogException
createExport in interface LogServiceLogExceptionpublic UpdateExportResponse updateExport(UpdateExportRequest request) throws LogException
updateExport in interface LogServiceLogExceptionpublic DeleteExportResponse deleteExport(DeleteExportRequest request) throws LogException
deleteExport in interface LogServiceLogExceptionpublic GetExportResponse getExport(GetExportRequest request) throws LogException
getExport in interface LogServiceLogExceptionpublic ListExportResponse listExport(ListExportRequest request) throws LogException
listExport in interface LogServiceLogExceptionpublic StopExportResponse stopExport(StopExportRequest request) throws LogException
stopExport in interface LogServiceLogExceptionpublic StartExportResponse startExport(StartExportRequest request) throws LogException
startExport in interface LogServiceLogExceptionpublic RestartExportResponse restartExport(RestartExportRequest request) throws LogException
restartExport in interface LogServiceLogExceptionpublic CreateScheduledSQLResponse createScheduledSQL(CreateScheduledSQLRequest request) throws LogException
createScheduledSQL in interface LogServiceLogExceptionpublic DeleteScheduledSQLResponse deleteScheduledSQL(DeleteScheduledSQLRequest request) throws LogException
deleteScheduledSQL in interface LogServiceLogExceptionpublic GetScheduledSQLResponse getScheduledSQL(GetScheduledSQLRequest request) throws LogException
getScheduledSQL in interface LogServiceLogExceptionpublic ListScheduledSQLResponse listScheduledSQL(ListScheduledSQLRequest request) throws LogException
listScheduledSQL in interface LogServiceLogExceptionpublic UpdateScheduledSQLResponse updateScheduledSQL(UpdateScheduledSQLRequest request) throws LogException
updateScheduledSQL in interface LogServiceLogExceptionpublic GetJobInstanceResponse getJobInstance(GetJobInstanceRequest request) throws LogException
getJobInstance in interface LogServiceLogExceptionpublic ModifyJobInstanceStateResponse modifyJobInstanceState(ModifyJobInstanceStateRequest request) throws LogException
modifyJobInstanceState in interface LogServiceLogExceptionpublic ListJobInstancesResponse listJobInstances(ListJobInstancesRequest request) throws LogException
listJobInstances in interface LogServiceLogExceptionpublic String getRealServerIP()
public void setRealServerIP(String realServerIP)
public CreateOrUpdateSqlInstanceResponse createSqlInstance(CreateOrUpdateSqlInstanceRequest request) throws LogException
createSqlInstance in interface LogServiceLogExceptionpublic CreateOrUpdateSqlInstanceResponse updateSqlInstance(CreateOrUpdateSqlInstanceRequest request) throws LogException
updateSqlInstance in interface LogServiceLogExceptionpublic CreateOrUpdateSqlInstanceResponse createOrUpdateSqlInstance(CreateOrUpdateSqlInstanceRequest request, com.aliyun.openservices.log.http.client.HttpMethod method) throws LogException
LogExceptionpublic ListSqlInstanceResponse listSqlInstance(ListSqlInstanceRequest request) throws LogException
listSqlInstance in interface LogServiceLogExceptionpublic SetProjectPolicyResponse setProjectPolicy(String projectName, String policyText) throws LogException
setProjectPolicy in interface LogServiceLogExceptionpublic GetProjectPolicyReponse getProjectPolicy(String projectName) throws LogException
getProjectPolicy in interface LogServiceLogExceptionpublic DeleteProjectPolicyReponse deleteProjectPolicy(String projectName) throws LogException
deleteProjectPolicy in interface LogServiceLogExceptionpublic SetProjectCnameResponse setProjectCname(SetProjectCnameRequest request) throws LogException
setProjectCname in interface LogServiceLogExceptionpublic ListProjectCnameResponse listProjectCname(String project) throws LogException
listProjectCname in interface LogServiceLogExceptionpublic VoidResponse deleteProjectCname(String project, String domain) throws LogException
deleteProjectCname in interface LogServiceLogExceptionpublic CreateLogStoreResponse createEventStore(CreateLogStoreRequest request) throws LogException
createEventStore in interface LogServiceLogExceptionpublic CreateLogStoreResponse createEventStore(String project, LogStore logStore, Index index) throws LogException
createEventStore in interface LogServiceLogExceptionpublic UpdateLogStoreResponse updateEventStore(UpdateLogStoreRequest request) throws LogException
updateEventStore in interface LogServiceLogExceptionpublic DeleteLogStoreResponse deleteEventStore(DeleteLogStoreRequest request) throws LogException
deleteEventStore in interface LogServiceLogExceptionpublic GetLogStoreResponse getEventStore(GetLogStoreRequest request) throws LogException
getEventStore in interface LogServiceLogExceptionpublic ListLogStoresResponse listEventStores(ListLogStoresRequest request) throws LogException
listEventStores in interface LogServiceLogExceptionpublic VoidResponse updateLogStoreMeteringMode(UpdateLogStoreMeteringModeRequest request) throws LogException
updateLogStoreMeteringMode in interface LogServiceLogExceptionpublic GetLogStoreMeteringModeResponse getLogStoreMeteringMode(GetLogStoreMeteringModeRequest request) throws LogException
getLogStoreMeteringMode in interface LogServiceLogExceptionpublic CreateMetricsConfigResponse createMetricsConfig(CreateMetricsConfigRequest request) throws LogException
createMetricsConfig in interface LogServiceLogExceptionpublic UpdateMetricsConfigResponse updateMetricsConfig(UpdateMetricsConfigRequest request) throws LogException
updateMetricsConfig in interface LogServiceLogExceptionpublic DeleteMetricsConfigResponse deleteMetricsConfig(DeleteMetricsConfigRequest request) throws LogException
deleteMetricsConfig in interface LogServiceLogExceptionpublic GetMetricsConfigResponse getMetricsConfig(GetMetricsConfigRequest request) throws LogException
getMetricsConfig in interface LogServiceLogExceptionpublic ListMetricsConfigResponse listMetricsConfig(ListMetricsConfigRequest request) throws LogException
listMetricsConfig in interface LogServiceLogExceptionpublic CreateShipperMigrationResponse createShipperMigration(CreateShipperMigrationRequest request) throws LogException
createShipperMigration in interface LogServiceLogExceptionpublic GetShipperMigrationResponse getShipperMigration(GetShipperMigrationRequest request) throws LogException
getShipperMigration in interface LogServiceLogExceptionpublic ListShipperMigrationResponse listShipperMigration(ListShipperMigrationRequest request) throws LogException
listShipperMigration in interface LogServiceLogExceptionCopyright © 2025. All Rights Reserved.