public interface LogService
GetHistogramsResponse GetHistograms(String project, String logstore, int from, int to, String topic, String query) throws LogException
project - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is emptyGetHistogramsResponse GetHistograms(GetHistogramsRequest request) throws LogException
request - the get histogram requestLogException - if any error happen when get the data from log service serverNullPointerException - if required parameter is nullGetLogsResponse GetLogs(String project, String logStore, int from, int to, String topic, String query) throws LogException
project - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is emptyGetLogsResponse GetLogs(String project, String logStore, int from, int to, String topic, String query, long line, long offset, boolean reverse, boolean powerSql) throws LogException
project - 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 topicreverse - 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 orderline - how many lines to get, the max lines is decided by the sls
backend serveroffset - the start log index in all the matched logs.query - 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.powerSql - if the query runs using a power instanceLogException - if any error happen when get the data from log service serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is emptyGetLogsResponse 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
project - 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 topicreverse - 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 orderline - how many lines to get, the max lines is decided by the sls
backend serveroffset - the start log index in all the matched logs.query - 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.powerSql - if the query runs using a power instanceLogException - if any error happen when get the data from log service serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is emptyGetLogsResponse GetLogs(String project, String logStore, int from, int to, String topic, String query, long line, long offset, boolean reverse, int shard) throws LogException
project - 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 topicreverse - 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 orderline - how many lines to get, the max lines is decided by the sls
backend serveroffset - the start log index in all the matched logs.query - 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.shard - specific shardLogException - if any error happen when get the data from log service serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is emptyGetLogsResponse 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
project - 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 topicreverse - 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 orderline - how many lines to get, the max lines is decided by the sls
backend serveroffset - the start log index in all the matched logs.query - 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.session - query session param, should be like powerSql=true;schema_free=true;....LogException - if any error happen when get the data from log service serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is emptyGetLogsResponse GetLogs(GetLogsRequest request) throws LogException
request - the get logs requestNullPointerException - if required parameter is nullLogException - if any error happen when get the data from log service serverGetLogsResponse executeLogstoreSql(String project, String logStore, int from, int to, String sql, boolean powerSql) throws LogException
project - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is emptyGetLogsResponse GetProjectLogs(String project, String query) throws LogException
project - the project namequery - stardard sql query, compute from the whole projectLogException - if any error happen when get the data from log service serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is emptyGetLogsResponse GetProjectLogs(GetProjectLogsRequest request) throws LogException
request - the get project logs requestNullPointerException - if required parameter is nullLogException - if any error happen when get the data from log service serverGetLogsResponse executeProjectSql(String project, String sql, boolean powerSql) throws LogException
project - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is emptyListLogStoresResponse ListLogStores(String project, int offset, int size) throws LogException
project - the project nameoffset - the begin offsetsize - the query logstore name countLogException - if any error happen when get the data from log service serverNullPointerException - if any parameter is nullIllegalArgumentException - if project is emptyListLogStoresResponse ListLogStores(String project, int offset, int size, String logstoreName) throws LogException
project - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is emptyListLogStoresResponse ListLogStores(ListLogStoresRequest request) throws LogException
request - the list log store requestLogException - if any error happen when get the data from log service serverNullPointerException - if required parameter is nullPutLogsResponse PutLogs(String project, String logStore, String topic, List<LogItem> logItems, String source) throws LogException
project - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is empty, or the logGroup log count
exceed 4096, or the total data size exceed 5MBPutLogsResponse PutLogs(String project, String logStore, String topic, List<LogItem> logItems, String source, String shardHash) throws LogException
project - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is empty, or the logGroup log count
exceed 4096, or the total data size exceed 5MBPutLogsResponse PutLogs(PutLogsRequest request) throws LogException
request - the put log requestLogException - if any error happen when send data to the serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is empty, or the logGroup log count
exceed 4096, or the total data size exceed 5MBBatchPutLogsResponse batchPutLogs(BatchPutLogsRequest request) throws LogException
request - the batch put log requestLogException - if any error happen when send data to the serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is empty, or the total logGroup log count
exceed 4096, or the total data size exceed 5MBGetCursorResponse GetCursor(String project, String logStore, int shardId, long fromTime) throws LogException
project - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logStore is emptyGetCursorResponse GetCursor(String project, String logStore, int shardId, Date fromTime) throws LogException
project - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if any string argument in request is emptyGetCursorResponse GetCursor(String project, String logStore, int shardId, Consts.CursorMode mode) throws LogException
project - the project namelogStore - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if any string argument in request is emptyGetCursorResponse GetCursor(GetCursorRequest request) throws LogException
request - the get cursor requestLogException - if any error happen when get cursor from the serverNullPointerException - if any parameter is nullIllegalArgumentException - if any string argument in request is emptyGetCursorTimeResponse GetCursorTime(String project, String logStore, int shardId, String cursor) throws LogException
project - the project namelogStore - the logstore nameshardId - shard idcursor - cursor of a shardLogException - if any error happen when get cursor from the serverNullPointerException - if any parameter is nullIllegalArgumentException - if any string argument in request is emptyGetCursorTimeResponse GetCursorTime(GetCursorTimeRequest request) throws LogException
request - the requestNullPointerException - if any parameter is nullIllegalArgumentException - if any string argument in request is emptyLogExceptionListShardResponse ListShard(String project, String logStore) throws LogException
project - the project namelogStore - where the shard belongs toLogException - if any error happen when get the data from log service serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore is emptyListShardResponse ListShard(ListShardRequest request) throws LogException
request - the get cursor requestLogException - if any error happen when get the data from log service serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore in request is emptyListShardResponse SplitShard(String project, String logStore, int shardId, String midHash) throws LogException
project - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore in request is emptyListShardResponse SplitShard(SplitShardRequest request) throws LogException
request - split shard requestLogException - if any error happen when get the data from log service serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore in request is emptyListShardResponse MergeShards(String project, String logStore, int shardId) throws LogException
project - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore in request is emptyListShardResponse MergeShards(MergeShardsRequest request) throws LogException
request - the project nameLogException - if any error happen when get the data from log service serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore in request is empty@Deprecated BatchGetLogResponse BatchGetLog(String project, String logStore, int shardId, int count, String cursor) throws LogException
pullLogs instead.project - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore or cursor is empty@Deprecated BatchGetLogResponse BatchGetLog(String project, String logStore, int shardId, int count, String cursor, String end_cursor) throws LogException
pullLogs instead.project - 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 serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore or cursor is empty@Deprecated BatchGetLogResponse BatchGetLog(BatchGetLogRequest request) throws LogException
pullLogs instead.request - the batch get log requestLogException - if any error happen when get the data from log service serverNullPointerException - if any parameter is nullIllegalArgumentException - if project or logstore or cursor in request is emptyPullLogsResponse pullLogs(PullLogsRequest request) throws LogException
request - The pull logs request.LogExceptionCreateConfigResponse CreateConfig(String project, Config config) throws LogException
project - the project nameconfig - the full config resourceLogException - if any error happen when creating logtail configNullPointerException - if config resource parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateConfigResponse CreateConfig(CreateConfigRequest request) throws LogException
request - the create config requestLogException - if any error happen when creating logtail configNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateConfigResponse UpdateConfig(String project, Config config) throws LogException
project - the project nameconfig - the full config resourceLogException - if any error happen when updating logtail configNullPointerException - if any parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateConfigResponse UpdateConfig(UpdateConfigRequest request) throws LogException
request - the update config requestLogException - if any error happen when updating logtail configNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetConfigResponse GetConfig(String project, String configName) throws LogException
project - the project nameconfigName - the config nameLogException - if any error happen when getting logtail configNullPointerException - if any parameter is nullIllegalArgumentException - if configName is emptyGetConfigResponse GetConfig(GetConfigRequest request) throws LogException
request - the get config requestLogException - if any error happen when getting logtail configNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteConfigResponse DeleteConfig(String project, String configName) throws LogException
project - the project nameconfigName - the config nameLogException - if any error happen when deleting logtail configNullPointerException - if any parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteConfigResponse DeleteConfig(DeleteConfigRequest request) throws LogException
request - the delete config requestLogException - if any error happen when deleting logtail configNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListConfigResponse ListConfig(String project) throws LogException
project - the project nameLogException - if any error happen when listing logtail configsNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListConfigResponse ListConfig(String project, int offSet, int size) throws LogException
project - the project nameoffSet - the list offsetsize - the query sizeLogException - if any error happen when listing logtail configsNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListConfigResponse ListConfig(String project, String configName, int offSet, int size) throws LogException
project - the project nameconfigName - the config nameoffSet - the list offsetsize - the query sizeLogException - if any error happen when listing logtail configsNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListConfigResponse ListConfig(ListConfigRequest request) throws LogException
request - the list configs requestLogException - if any error happen when listing logtail configsNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetAppliedConfigResponse GetAppliedConfig(String project, String groupName) throws LogException
project - the project namegroupName - the machine group nameLogException - if any error happen when get applied config configsNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetAppliedConfigResponse GetAppliedConfig(GetAppliedConfigsRequest request) throws LogException
request - get applied config requestLogException - if any error happen when get applied config configsNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetAppliedMachineGroupsResponse GetAppliedMachineGroups(String project, String configName) throws LogException
project - the project nameconfigName - the config nameLogException - if any error happen when get applied config configsNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetAppliedMachineGroupsResponse GetAppliedMachineGroups(GetAppliedMachineGroupRequest request) throws LogException
request - get applied machine group requestLogException - if any error happen when get applied config configsNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateMachineGroupResponse CreateMachineGroup(String project, MachineGroup group) throws LogException
project - the project namegroup - the full machine group resourceLogException - if any error happen when creating machine groupNullPointerException - if machine group resource parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateMachineGroupResponse CreateMachineGroup(CreateMachineGroupRequest request) throws LogException
request - the create machine group requestLogException - if any error happen when creating machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateMachineGroupResponse UpdateMachineGroup(String project, MachineGroup group) throws LogException
project - the project namegroup - the full machine group resourceLogException - if any error happen when updating machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateMachineGroupResponse UpdateMachineGroup(UpdateMachineGroupRequest request) throws LogException
request - the update machine group requestLogException - if any error happen when updating machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateMachineGroupMachineResponse AddMachineIntoMahineGroup(String project, String groupName, MachineList machineList) throws LogException
project - the project namegroupName - the machine group namemachineList - machine id listLogException - if any error happen when adding machine into machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateMachineGroupMachineResponse AddMachineIntoMachineGroup(UpdateMachineGroupMachineRequest request) throws LogException
request - update machine group resourceLogException - if any error happen when adding machine into machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateMachineGroupMachineResponse DeleteMachineFromMachineGroup(String project, String groupName, MachineList machineList) throws LogException
project - the project namegroupName - the machine group namemachineList - machine id listLogException - if any error happen when adding machine into machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateMachineGroupMachineResponse DeleteMachineFromMachineGroup(UpdateMachineGroupMachineRequest request) throws LogException
request - update machine group machine resourceLogException - if any error happen when adding machine into machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetMachineGroupResponse GetMachineGroup(String project, String groupName) throws LogException
project - the project namegroupName - the machine group nameLogException - if any error happen when getting machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetMachineGroupResponse GetMachineGroup(GetMachineGroupRequest request) throws LogException
request - the get machine group requestLogException - if any error happen when getting machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyApproveMachineGroupResponse ApproveMachineGroup(String project, String groupName) throws LogException
project - the project namegroupName - the machine group nameLogException - if any error happen when deleting machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyApproveMachineGroupResponse ApproveMachineGroup(ApproveMachineGroupRequest request) throws LogException
request - the approve machine group requestLogException - if any error happen when deleting machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteMachineGroupResponse DeleteMachineGroup(String project, String groupName) throws LogException
project - the project namegroupName - the machine group nameLogException - if any error happen when deleting machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteMachineGroupResponse DeleteMachineGroup(DeleteMachineGroupRequest request) throws LogException
request - the delete machine group requestLogException - if any error happen when deleting machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListMachineGroupResponse ListMachineGroup(String project) throws LogException
project - the project nameLogException - if any error happen when listing machine groupsNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListMachinesResponse ListMachines(String project, String machineGroup, int offset, int size) throws LogException
project - the project namemachineGroup - the machine group nameoffset - the offset in the machine groupsize - the size to getLogException - if any error happen when listing machinesNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListMachineGroupResponse ListMachineGroup(String project, int offSet, int size) throws LogException
project - the project nameoffSet - the list offsetsize - the query sizeLogException - if any error happen when listing machine groupsNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListMachineGroupResponse ListMachineGroup(String project, String groupName, int offSet, int size) throws LogException
project - the project namegroupName - the machine group nameoffSet - the list offsetsize - the query sizeLogException - if any error happen when listing machine groupsNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListMachineGroupResponse ListMachineGroup(ListMachineGroupRequest request) throws LogException
request - the list machine groups requestLogException - if any error happen when listing machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyApplyConfigToMachineGroupResponse ApplyConfigToMachineGroup(String project, String groupName, String configName) throws LogException
project - the project namegroupName - the machine group nameconfigName - the logtail config nameLogException - if any error happen when applying config to machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyApplyConfigToMachineGroupResponse ApplyConfigToMachineGroup(ApplyConfigToMachineGroupRequest request) throws LogException
request - apply config to machine group requestLogException - if any error happen when applying config to machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyRemoveConfigFromMachineGroupResponse RemoveConfigFromMachineGroup(String project, String groupName, String configName) throws LogException
project - the project namegroupName - the machine group nameconfigName - the logtail config nameLogException - if any error happen when removing config from machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyRemoveConfigFromMachineGroupResponse RemoveConfigFromMachineGroup(RemoveConfigFromMachineGroupRequest request) throws LogException
request - remove config from machine group requestLogException - if any error happen when removing config from machine groupNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateLogStoreResponse CreateLogStore(String project, LogStore logStore) throws LogException
project - the project namelogStore - the configLogException - if any error happen when creasting logstoreNullPointerException - if any parameter is nullIllegalArgumentException - if project is emptyCreateLogStoreResponse CreateLogStore(CreateLogStoreRequest request) throws LogException
request - logstore create requestLogException - if any error happen when creasting logstoreNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateLinkStoreResponse CreateLinkStore(String project, LinkStore linkStore) throws LogException
project - the project namelinkStore - the configLogException - if any error happen when creating link storeNullPointerException - if any parameter is nullIllegalArgumentException - if project is emptyCreateLinkStoreResponse CreateLinkStore(CreateLinkStoreRequest request) throws LogException
request - link store create requestLogException - if any error happen when creating link storeNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateLogStoreResponse UpdateLogStore(String project, LogStore logStore) throws LogException
project - the project namelogStore - the logsotre configLogException - if any error happen when updating logstoreNullPointerException - if any parameter is nullIllegalArgumentException - if project is emptyUpdateLogStoreResponse UpdateLogStore(UpdateLogStoreRequest request) throws LogException
request - update logstore requstLogException - if any error happen when updating logstoreNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteLogStoreResponse DeleteLogStore(String project, String logStoreName) throws LogException
project - the project namelogStoreName - the lostore to deleteLogException - if any error happen when deleting logstoreNullPointerException - if any parameter is nullIllegalArgumentException - if an param is emptyDeleteLogStoreResponse DeleteLogStore(DeleteLogStoreRequest request) throws LogException
request - delete logstore requestLogException - if any error happen when deleting logstoreNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteLinkStoreResponse DeleteLinkStore(String project, String linkStoreName) throws LogException
project - the project namelinkStoreName - the link store to deleteLogException - if any error happen when deleting link storeNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteLinkStoreResponse DeleteLinkStore(DeleteLinkStoreRequest request) throws LogException
request - delete link store requestLogException - if any error happen when deleting link storeNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetLogStoreResponse GetLogStore(String project, String logStoreName) throws LogException
project - the project namelogStoreName - the logstore nameLogException - if any error happen when getting logstore configNullPointerException - if any parameter is nullIllegalArgumentException - if any parameter is emptyGetLogStoreResponse GetLogStore(GetLogStoreRequest request) throws LogException
request - the get logstore config requestLogException - if any error happen when getting logstore configNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateLogStoreResponse createMetricStore(String project, LogStore metricStore) throws LogException
project - the project namemetricStore - the configLogException - if any error happen when creasting logstoreNullPointerException - if any parameter is nullIllegalArgumentException - if project is emptyCreateLogStoreResponse createMetricStore(CreateLogStoreRequest request) throws LogException
request - logstore create requestLogException - if any error happen when creasting logstoreNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateLogStoreResponse updateMetricStore(String project, LogStore metricStore) throws LogException
project - the project namemetricStore - the logsotre configLogException - if any error happen when updating logstoreNullPointerException - if any parameter is nullIllegalArgumentException - if project is emptyUpdateLogStoreResponse updateMetricStore(UpdateLogStoreRequest request) throws LogException
request - update logstore requstLogException - if any error happen when updating logstoreNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteLogStoreResponse deleteMetricStore(String project, String metricStoreName) throws LogException
project - the project namemetricStoreName - the lostore to deleteLogException - if any error happen when deleting logstoreNullPointerException - if any parameter is nullIllegalArgumentException - if an param is emptyDeleteLogStoreResponse deleteMetricStore(DeleteLogStoreRequest request) throws LogException
request - delete logstore requestLogException - if any error happen when deleting logstoreNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetLogStoreResponse getMetricStore(String project, String metricStoreName) throws LogException
project - the project namemetricStoreName - the logstore nameLogException - if any error happen when getting logstore configNullPointerException - if any parameter is nullIllegalArgumentException - if any parameter is emptyGetLogStoreResponse getMetricStore(GetLogStoreRequest request) throws LogException
request - the get logstore config requestLogException - if any error happen when getting logstore configNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateIndexResponse CreateIndex(String project, String logStore, String indexJsonString) throws LogException
project - the project namelogStore - the logstore nameindexJsonString - logstore indexJsonStringLogException - if any error happen when creating indexNullPointerException - if the request is nullIllegalArgumentException - if any string paramter is emptyCreateIndexResponse CreateIndex(String project, String logStore, Index index) throws LogException
project - the project namelogStore - the logstore nameindex - logstore index configLogException - if any error happen when creating indexNullPointerException - if the request is nullIllegalArgumentException - if any string paramter is emptyCreateIndexResponse CreateIndex(CreateIndexRequest request) throws LogException
request - the create logstore index requestLogException - if any error happen when creating indexNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateIndexResponse UpdateIndex(String project, String logStore, String indexJsonString) throws LogException
project - project namelogStore - logstore nameindexJsonString - logstore indexJsonStringLogException - if any error happen when updating logstore index configNullPointerException - if any parameter is nullIllegalArgumentException - if any string parameter is emptyUpdateIndexResponse UpdateIndex(String project, String logStore, Index index) throws LogException
project - project namelogStore - logstore nameindex - logstore index configLogException - if any error happen when updating logstore index configNullPointerException - if any parameter is nullIllegalArgumentException - if any string parameter is emptyUpdateIndexResponse UpdateIndex(UpdateIndexRequest request) throws LogException
request - update logstore index requestLogException - if any error happen when update logstore index configNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteIndexResponse DeleteIndex(String project, String logStore) throws LogException
project - project namelogStore - store nameLogException - if any error happen when deleting logstore index configNullPointerException - if any parameter is nullIllegalArgumentException - if any string parameter is emptyDeleteIndexResponse DeleteIndex(DeleteIndexRequest request) throws LogException
request - delete logstore index configLogException - if any error happen when deleting logstore index configNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetIndexResponse GetIndex(String project, String logStore) throws LogException
project - project namelogStore - logstore nameLogException - if any error happen when get index configNullPointerException - if any parameter is nullIllegalArgumentException - if any string parameter is emptyGetIndexStringResponse GetIndexString(String project, String logStore) throws LogException
LogExceptionGetIndexResponse GetIndex(GetIndexRequest request) throws LogException
request - get logstore index requestLogException - if any error happen when getting index configNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetIndexStringResponse GetIndexString(GetIndexRequest request) throws LogException
LogExceptionCreateConsumerGroupResponse CreateConsumerGroup(CreateConsumerGroupRequest request) throws LogException
request - contains all of the parameters neededLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateConsumerGroupResponse CreateConsumerGroup(String project, String logStore, ConsumerGroup consumerGroup) throws LogException
project - project namelogStore - logstore nameconsumerGroup - contains all of the parameters needed by consumer groupLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteConsumerGroupResponse DeleteConsumerGroup(String project, String logStore, String consumerGroup) throws LogException
project - project namelogStore - logstore nameconsumerGroup - consumer group nameLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListConsumerGroupResponse ListConsumerGroup(String project, String logStore) throws LogException
project - project namelogStore - logstore nameLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateConsumerGroupResponse UpdateConsumerGroup(String project, String logStore, String consumerGroup, boolean inOrder, int timeoutInSec) throws LogException
project - 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 happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateConsumerGroupResponse UpdateConsumerGroup(String project, String logStore, String consumerGroup, boolean inOrder) throws LogException
project - project namelogStore - logstore nameconsumerGroup - consumer group nameinOrder - consume data in oder or notLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateConsumerGroupResponse UpdateConsumerGroup(String project, String logStore, String consumerGroup, int timeoutInSec) throws LogException
project - 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 happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyConsumerGroupUpdateCheckPointResponse UpdateCheckPoint(String project, String logStore, String consumerGroup, String consumer, int shard, String checkpoint) throws LogException
project - project namelogStore - logstore nameconsumerGroup - consumer group nameconsumer - consumer nameshard - shard idcheckpoint - shard cursorLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyConsumerGroupUpdateCheckPointResponse UpdateCheckPoint(String project, String logStore, String consumerGroup, int shard, String checkpoint) throws LogException
project - project namelogStore - logstore nameconsumerGroup - consumer group nameshard - shard idcheckpoint - shard cursorLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyConsumerGroupHeartBeatResponse HeartBeat(String project, String logStore, String consumerGroup, String consumer, List<Integer> shards) throws LogException
project - project namelogStore - logstore nameconsumerGroup - consumer group nameconsumer - consumer nameshards - shards hold by the consumerLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyConsumerGroupCheckPointResponse GetCheckPoint(String project, String logStore, String consumerGroup, int shard) throws LogException
project - project namelogStore - logstore nameconsumerGroup - consumer group nameshard - shard idLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetCheckPointResponse getCheckpoint(String project, String logstore, String consumerGroup, int shard) throws LogException
LogExceptionConsumerGroupCheckPointResponse GetCheckPoint(String project, String logStore, String consumerGroup) throws LogException
project - project namelogStore - logstore nameconsumerGroup - consumer group nameLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateShipperResponse CreateShipper(String project, String logStore, String shipperName, ShipperConfig shipConfig) throws LogException
project - project namelogStore - logstore nameshipperName - shipper nameshipConfig - the OssShipperConfigLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateShipperResponse UpdateShipper(String project, String logStore, String shipperName, ShipperConfig shipConfig) throws LogException
project - project namelogStore - logstore nameshipperName - shipper nameshipConfig - the OssShipperConfig or OdpsShipperConfigLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteShipperResponse DeleteShipper(String project, String logStore, String ShipperName) throws LogException
project - project namelogStore - logstore nameShipperName - shipper nameLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetShipperResponse GetShipperConfig(String project, String logStore, String shipperName) throws LogException
project - project namelogStore - logstore nameshipperName - shipper nameLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListShipperResponse ListShipper(String project, String logStore) throws LogException
project - project namelogStore - logstore nameLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetShipperTasksResponse GetShipperTasks(String project, String logStore, String shipperName, int startTime, int endTime, String statusType, int offset, int size) throws LogException
project - 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 happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyRetryShipperTasksResponse RetryShipperTasks(String project, String logStore, String shipperName, List<String> taskList) throws LogException
project - project namelogStore - logstore nameshipperName - shipper nametaskList - failed task id listLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateProjectResponse CreateProject(String project, String projectDescription) throws LogException
project - project nameprojectDescription - project descriptionLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateProjectResponse createProject(String project, String projectDescription, String resourceGroupId) throws LogException
LogExceptionCreateProjectResponse createProject(CreateProjectRequest request) throws LogException
LogExceptionGetProjectResponse GetProject(String project) throws LogException
project - project nameLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListProjectResponse ListProject(String ProjectName, int offset, int size) throws LogException
ProjectName - project nameoffset - offsetsize - sizeLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListProjectResponse ListProject(ListProjectRequest request) throws LogException
request - request classLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteProjectResponse DeleteProject(String project) throws LogException
project - project nameLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateProjectResponse updateProject(UpdateProjectRequest request) throws LogException
request - The parameters used to update project.UpdateProjectResponseLogExceptionChangeResourceGroupResponse changeResourceGroup(String resourceType, String resourceId, String resourceGroupId) throws LogException
LogExceptionListProjectResponse ListProject() throws LogException
LogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateSavedSearchResponse createSavedSearch(CreateSavedSearchRequest request) throws LogException
request - request classLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateSavedSearchResponse updateSavedSearch(UpdateSavedSearchRequest request) throws LogException
request - request classLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteSavedSearchResponse deleteSavedSearch(DeleteSavedSearchRequest request) throws LogException
request - request classLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetSavedSearchResponse getSavedSearch(GetSavedSearchRequest request) throws LogException
request - request classLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListSavedSearchResponse listSavedSearch(ListSavedSearchRequest request) throws LogException
request - request classLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateAlertResponse createAlert(CreateAlertRequest request) throws LogException
request - An instance of CreateAlertRequestLogExceptionCreateETLV2Response createETLV2(CreateETLV2Request request) throws LogException
LogExceptionUpdateETLV2Response updateETLV2(UpdateETLV2Request request) throws LogException
LogExceptionDeleteETLV2Response deleteETLV2(DeleteETLV2Request request) throws LogException
LogExceptionGetETLV2Response getETLV2(GetETLV2Request request) throws LogException
LogExceptionListETLV2Response listETLV2(ListETLV2Request request) throws LogException
LogExceptionStopETLV2Response stopETLV2(StopETLV2Request request) throws LogException
LogExceptionStartETLV2Response startETLV2(StartETLV2Request request) throws LogException
LogExceptionReStartETLV2Response reStartETLV2(ReStartETLV2Request request) throws LogException
LogExceptionCreateExportResponse createExport(CreateExportRequest request) throws LogException
LogExceptionUpdateExportResponse updateExport(UpdateExportRequest request) throws LogException
LogExceptionDeleteExportResponse deleteExport(DeleteExportRequest request) throws LogException
LogExceptionGetExportResponse getExport(GetExportRequest request) throws LogException
LogExceptionListExportResponse listExport(ListExportRequest request) throws LogException
LogExceptionStopExportResponse stopExport(StopExportRequest request) throws LogException
LogExceptionStartExportResponse startExport(StartExportRequest request) throws LogException
LogExceptionRestartExportResponse restartExport(RestartExportRequest request) throws LogException
LogExceptionCreateScheduledSQLResponse createScheduledSQL(CreateScheduledSQLRequest request) throws LogException
LogExceptionDeleteScheduledSQLResponse deleteScheduledSQL(DeleteScheduledSQLRequest request) throws LogException
LogExceptionGetScheduledSQLResponse getScheduledSQL(GetScheduledSQLRequest request) throws LogException
LogExceptionListScheduledSQLResponse listScheduledSQL(ListScheduledSQLRequest request) throws LogException
LogExceptionUpdateScheduledSQLResponse updateScheduledSQL(UpdateScheduledSQLRequest request) throws LogException
LogExceptionGetJobInstanceResponse getJobInstance(GetJobInstanceRequest request) throws LogException
LogExceptionModifyJobInstanceStateResponse modifyJobInstanceState(ModifyJobInstanceStateRequest request) throws LogException
LogExceptionListJobInstancesResponse listJobInstances(ListJobInstancesRequest request) throws LogException
LogExceptionUpdateAlertResponse updateAlert(UpdateAlertRequest request) throws LogException
request - request classLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteAlertResponse deleteAlert(DeleteAlertRequest request) throws LogException
request - request classLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyGetAlertResponse getAlert(GetAlertRequest request) throws LogException
request - request classLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListAlertResponse listAlert(ListAlertRequest request) throws LogException
request - request classLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateReportResponse createReport(CreateReportRequest request) throws LogException
LogExceptionGetReportResponse getReport(GetReportRequest request) throws LogException
LogExceptionUpdateReportResponse updateReport(UpdateReportRequest request) throws LogException
LogExceptionDeleteReportResponse deleteReport(DeleteReportRequest request) throws LogException
LogExceptionListReportResponse listReport(ListReportRequest request) throws LogException
LogExceptionEnableReportResponse enableReport(EnableReportRequest request) throws LogException
LogExceptionDisableReportResponse disableReport(DisableReportRequest request) throws LogException
LogExceptionSetLogstoreReplicationResponse setLogstoreReplication(String project, String logStore, boolean enable) throws LogException
LogExceptionSetLogstoreReplicationResponse setLogstoreReplication(SetLogstoreReplicationRequest request) throws LogException
LogExceptionGetLogstoreReplicationResponse getLogstoreReplication(String project, String logStore) throws LogException
LogExceptionGetLogstoreReplicationResponse getLogstoreReplication(GetLogstoreReplicationRequest request) throws LogException
LogExceptionCreateDashboardResponse createDashboard(CreateDashboardRequest request) throws LogException
LogExceptionUpdateDashboardResponse updateDashboard(UpdateDashboardRequest request) throws LogException
LogExceptionDeleteDashboardResponse deleteDashboard(DeleteDashboardRequest request) throws LogException
LogExceptionGetDashboardResponse getDashboard(GetDashboardRequest request) throws LogException
LogExceptionListDashboardResponse listDashboard(ListDashboardRequest request) throws LogException
LogExceptionCreateChartResponse createChart(CreateChartRequest request) throws LogException
LogExceptionUpdateChartResponse updateChart(UpdateChartRequest request) throws LogException
LogExceptionDeleteChartResponse deleteChart(DeleteChartRequest request) throws LogException
LogExceptionGetChartResponse getChart(GetChartRequest request) throws LogException
LogExceptionCreateEtlJobResponse createEtlJob(CreateEtlJobRequest request) throws LogException
request - CreateEtlJobRequestLogExceptionDeleteEtlJobResponse deleteEtlJob(DeleteEtlJobRequest request) throws LogException
request - DeleteEtlJobRequestLogExceptionUpdateEtlJobResponse updateEtlJob(UpdateEtlJobRequest request) throws LogException
request - UpdateEtlJobRequestLogExceptionGetEtlJobResponse getEtlJob(GetEtlJobRequest request) throws LogException
request - GetEtlJobRequestLogExceptionListEtlJobResponse listEtlJob(ListEtlJobRequest request) throws LogException
request - ListEtlJobRequestLogExceptionCreateEtlMetaResponse createEtlMeta(String project, EtlMeta etlMeta) throws LogException
project - project nameetlMeta - etlMeta which contains the metaName/metaKey/metaTag/metaValueLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateEtlMetaResponse batchCreateEtlMeta(String project, ArrayList<EtlMeta> etlMetaList) throws LogException
project - project nameetlMetaList - List of etlMeta which contains the metaName/metaKey/metaTag/metaValue, List size shoud be [1, 50]LogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteEtlMetaResponse deleteEtlMeta(String project, String etlMetaName, String etlMetaKey) throws LogException
project - project nameetlMetaName - etl meta nameetlMetaKey - etl meta keyLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteEtlMetaResponse deleteEtlMeta(String project, String etlMetaName, String etlMetaKey, String etlMetaTag) throws LogException
project - project nameetlMetaName - etl meta nameetlMetaKey - etl meta keyetlMetaTag - etl meta tagLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyBatchModifyEtlMetaStatusResponse batchModifyEtlMetaStatus(String project, String etlMetaName, String etlMetaTag, Consts.BatchModifyEtlMetaType type) throws LogException
project - project nameetlMetaName - etl meta nameetlMetaTag - etl meta tagtype - delete/enable/disableLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyBatchModifyEtlMetaStatusResponse batchModifyEtlMetaStatus(String project, String etlMetaName, ArrayList<String> etlMetaKeyList, Consts.BatchModifyEtlMetaType type) throws LogException
project - project nameetlMetaName - etl meta nameetlMetaKeyList - List of etl meta keytype - delete/enable/disableLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyBatchModifyEtlMetaStatusResponse batchModifyEtlMetaStatus(String project, String etlMetaName, ArrayList<String> etlMetaKeyList, String etlMetaTag, Consts.BatchModifyEtlMetaType type) throws LogException
project - project nameetlMetaName - etl meta nameetlMetaKeyList - List of etl meta keyetlMetaTag - etl meta tagtype - delete/enable/disableLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateEtlMetaResponse updateEtlMeta(String project, EtlMeta etlMeta) throws LogException
project - project nameetlMeta - etlMeta which contains the metaName/metaKey/metaTag/metaValueLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateEtlMetaResponse batchUpdateEtlMeta(String project, ArrayList<EtlMeta> etlMetaList) throws LogException
project - project nameetlMetaList - List of etlMeta which contains the metaName/metaKey/metaTag/metaValue, List size should be [1, 50]LogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListEtlMetaNameResponse listEtlMetaName(String project, int offset, int size) throws LogException
project - project nameoffset - should greater than 0size - [1, 200]LogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListEtlMetaResponse listEtlMeta(String project, String etlMetaName, int offset, int size) throws LogException
project - project nameetlMetaName - etl meta nameoffset - should greater than 0size - [1, 200]LogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListEtlMetaResponse listEtlMeta(String project, String etlMetaName, String etlMetaTag, int offset, int size) throws LogException
project - 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 happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListEtlMetaResponse listEtlMeta(String project, String etlMetaName, String dispatchProject, String dispatchLogstore, int offset, int size) throws LogException
project - 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 happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListEtlMetaResponse getEtlMeta(String project, String etlMetaName, String etlMetaKey) throws LogException
project - project nameetlMetaName - etl meta nameetlMetaKey - etl meta keyLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateLoggingResponse createLogging(CreateLoggingRequest request) throws LogException
request - An instance of CreateLoggingRequestCreateLoggingResponseLogException - if any error occursUpdateLoggingResponse updateLogging(UpdateLoggingRequest request) throws LogException
request - An instance of UpdateLoggingRequestUpdateLoggingResponseLogException - if any error occursGetLoggingResponse getLogging(GetLoggingRequest request) throws LogException
request - An instance of GetLoggingRequestGetLoggingResponseLogException - if any error occursDeleteLoggingResponse deleteLogging(DeleteLoggingRequest request) throws LogException
request - An instance of DeleteLoggingRequestDeleteLoggingResponseLogException - if any error occurs@Deprecated CreateJobResponse createJob(CreateJobRequest request) throws LogException
request - An instance of CreateJobRequestCreateJobResponse if successLogException - if any error occurs@Deprecated GetJobResponse getJob(GetJobRequest request) throws LogException
request - An instance of GetJobRequestGetJobResponseLogException - if any error occurs@Deprecated UpdateJobResponse updateJob(UpdateJobRequest request) throws LogException
request - An instance of UpdateJobRequestUpdateJobResponseLogException - if any error occurs@Deprecated DeleteJobResponse deleteJob(DeleteJobRequest request) throws LogException
request - An instance of DeleteJobRequestDeleteJobResponseLogException - if any error occurs@Deprecated EnableJobResponse enableJob(EnableJobRequest request) throws LogException
request - An instance of EnableJobRequestEnableJobResponseLogException - if any error occursEnableAlertResponse enableAlert(EnableAlertRequest request) throws LogException
request - LogException@Deprecated DisableJobResponse disableJob(DisableJobRequest request) throws LogException
request - An instance of DisableJobRequestDisableJobResponseLogException - if any error occursDisableAlertResponse disableAlert(DisableAlertRequest request) throws LogException
LogException@Deprecated ListJobsResponse listJobs(ListJobsRequest request) throws LogException
request - An instance of ListJobsRequestListJobsResponseLogException - if any error occursClearLogStoreStorageResponse ClearLogStoreStorage(ClearLogStoreStorageRequest request) throws LogException
request - An instance of ClearLogStoreStorageRequestClearLogStoreStorageResponseLogException - if any error occursClearLogStoreStorageResponse ClearLogStoreStorage(String project, String logStoreName) throws LogException
project - namelogStoreName - nameClearLogStoreStorageResponseLogException - if any error occursCreateProjectConsumerGroupResponse CreateProjectConsumerGroup(CreateProjectConsumerGroupRequest request) throws LogException
request - contains all of parameters neededLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyCreateProjectConsumerGroupResponse CreateProjectConsumerGroup(String project, ProjectConsumerGroup consumerGroup) throws LogException
project - project nameconsumerGroup - contains all of parameters needed by consumer groupLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyDeleteProjectConsumerGroupResponse DeleteProjectConsumerGroup(String project, String consumerGroup) throws LogException
project - project nameconsumerGroup - consumer group nameLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListProjectConsumerGroupResponse ListProjectConsumerGroup(String project) throws LogException
project - project nameLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyUpdateProjectConsumerGroupResponse UpdateProjectConsumerGroup(String project, String consumerGroup, boolean inOrder, int timeoutInSec) throws LogException
project - 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 happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyProjectConsumerGroupUpdateCheckPointResponse UpdateProjectConsumerGroupCheckPoint(String project, String consumerGroup, String consumer, String logStore, int shard, String checkpoint) throws LogException
project - project nameconsumerGroup - project consumer group nameconsumer - consumer namelogStore - log store nameshard - shard idcheckpoint - shard cursorLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyProjectConsumerGroupUpdateCheckPointResponse UpdateProjectConsumerGroupCheckPoint(String project, String consumerGroup, String logStore, int shard, String checkpoint) throws LogException
project - project nameconsumerGroup - project consumer group namelogStore - log store nameshard - shard idcheckpoint - shard cursorLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyProjectConsumerGroupCheckPointResponse GetProjectConsumerGroupCheckPoint(String project, String consumerGroup, String logStore, int shard) throws LogException
project - project nameconsumerGroup - consumer group namelogStore - log store or link store nameshard - shard idLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyProjectConsumerGroupCheckPointResponse GetProjectConsumerGroupCheckPoint(String project, String consumerGroup, String logStore) throws LogException
project - project nameconsumerGroup - consumer group namelogStore - log store or link store nameLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyProjectConsumerGroupCheckPointResponse GetProjectConsumerGroupCheckPoint(String project, String consumerGroup) throws LogException
project - project nameconsumerGroup - consumer group nameLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyProjectConsumerGroupHeartBeatResponse ProjectConsumerGroupHeartBeat(String project, String consumerGroup, String consumer, Map<String,ArrayList<Integer>> logStoreShards) throws LogException
project - project nameconsumerGroup - consumer group nameconsumer - consumer namelogStoreShards - log store and shards hold by the consumerLogException - if any error happenedNullPointerException - if required parameter is nullIllegalArgumentException - if any required string parameter is emptyListSubStoreResponse listSubStore(String project, String logstore) throws LogException
project - namelogstore - nameListSubStoreResponseLogException - if any error occursListSubStoreResponse listSubStore(ListSubStoreRequest request) throws LogException
request - An instance of ListSubStoreRequestListSubStoreResponseLogException - if any error occursGetSubStoreResponse getSubStore(String project, String logstore, String name) throws LogException
project - namelogstore - namename - substore nameGetSubStoreResponseLogException - if any error occursGetSubStoreResponse getSubStore(GetSubStoreRequest request) throws LogException
request - An instance of GetSubStoreRequestGetSubStoreResponseLogException - if any error occursCreateSubStoreResponse createSubStore(String project, String logstore, SubStore subStore) throws LogException
project - namelogstore - namesubStore - An instance of SubStoreCreateSubStoreResponseLogException - if any error occursCreateSubStoreResponse createSubStore(CreateSubStoreRequest request) throws LogException
request - An instance of CreateSubStoreRequestCreateSubStoreResponseLogException - if any error occursUpdateSubStoreResponse updateSubStore(String project, String logstore, SubStore subStore) throws LogException
project - namelogstore - namesubStore - An instance of SubStoreUpdateSubStoreResponseLogException - if any error occursUpdateSubStoreResponse updateSubStore(UpdateSubStoreRequest request) throws LogException
request - An instance of UpdateSubStoreRequestUpdateSubStoreResponseLogException - if any error occursDeleteSubStoreResponse deleteSubStore(String project, String logstore, String subStoreName) throws LogException
project - namelogstore - namesubStoreName - subStore nameDeleteSubStoreResponseLogException - if any error occursDeleteSubStoreResponse deleteSubStore(DeleteSubStoreRequest request) throws LogException
request - An instance of DeleteSubStoreRequestDeleteSubStoreResponseLogException - if any error occursGetSubStoreTTLResponse getSubStoreTTL(String project, String logstore) throws LogException
project - namelogstore - nameGetSubStoreTTLResponseLogException - if any error occursGetSubStoreTTLResponse getSubStoreTTL(GetSubStoreTTLResquest request) throws LogException
request - An instance of GetSubStoreTTLResquestGetSubStoreTTLResponseLogException - if any error occursUpdateSubStoreTTLResponse updateSubStoreTTL(String project, String logstore, int ttl) throws LogException
project - namelogstore - namettl - ttlUpdateSubStoreTTLResponseLogException - if any error occursUpdateSubStoreTTLResponse updateSubStoreTTL(UpdateSubStoreTTLRequest request) throws LogException
request - An instance of UpdateSubStoreTTLRequestUpdateSubStoreTTLResponseLogException - if any error occursListLogStoresResponse listLogStores(String project, int offset, int size, String logstoreName, String telemetryType) throws LogException
project - nameoffset - offsetsize - sizelogstoreName - logstore nametelemetryType - telemetry typeListLogStoresResponseLogException - if any error occursCreateDomainResponse createDomain(String project, Domain domain) throws LogException
LogExceptionCreateDomainResponse createDomain(CreateDomainRequest requset) throws LogException
LogExceptionDeleteDomainResponse deleteDomain(String project, String domainName) throws LogException
LogExceptionDeleteDomainResponse deleteDomain(DeleteDomainRequest request) throws LogException
LogExceptionListDomainsResponse listDomains(String project, String domainName, int offset, int size) throws LogException
LogExceptionListDomainsResponse listDomains(ListDomainsRequest request) throws LogException
LogExceptionCreateIngestionResponse createIngestion(CreateIngestionRequest request) throws LogException
LogExceptionUpdateIngestionResponse updateIngestion(UpdateIngestionRequest request) throws LogException
LogExceptionDeleteIngestionResponse deleteIngestion(DeleteIngestionRequest request) throws LogException
LogExceptionGetIngestionResponse getIngestion(GetIngestionRequest request) throws LogException
LogExceptionListIngestionResponse listIngestion(ListIngestionRequest request) throws LogException
LogExceptionStopIngestionResponse stopIngestion(StopIngestionRequest request) throws LogException
LogExceptionStartIngestionResponse startIngestion(StartIngestionRequest request) throws LogException
LogExceptionStartIngestionResponse restartIngestion(RestartIngestionRequest request) throws LogException
LogExceptionCreateRebuildIndexResponse createRebuildIndex(CreateRebuildIndexRequest request) throws LogException
LogExceptionDeleteRebuildIndexResponse deleteRebuildIndex(DeleteRebuildIndexRequest request) throws LogException
LogExceptionGetRebuildIndexResponse getRebuildIndex(GetRebuildIndexRequest request) throws LogException
LogExceptionListRebuildIndexResponse listRebuildIndex(ListRebuildIndexRequest request) throws LogException
LogExceptionStopRebuildIndexResponse stopRebuildIndex(StopRebuildIndexRequest request) throws LogException
LogExceptionCreateAuditJobResponse createAuditJob(CreateAuditJobRequest request) throws LogException
LogExceptionUpdateAuditJobResponse updateAuditJob(UpdateAuditJobRequest request) throws LogException
LogExceptionGetAuditJobResponse getAuditJob(GetAuditJobRequest request) throws LogException
LogExceptionDeleteAuditJobResponse deleteAuditJob(DeleteAuditJobRequest request) throws LogException
LogExceptionListAuditJobResponse listAuditJob(ListAuditJobRequest request) throws LogException
LogExceptionStartAuditJobResponse startAuditJob(StartAuditJobRequest request) throws LogException
LogExceptionStopAuditJobResponse stopAuditJob(StopAuditJobRequest request) throws LogException
LogExceptionCreateTopostoreResponse createTopostore(CreateTopostoreRequest request) throws LogException
LogExceptionUpdateTopostoreResponse updateTopostore(UpdateTopostoreRequest request) throws LogException
LogExceptionGetTopostoreResponse getTopostore(GetTopostoreRequest request) throws LogException
LogExceptionDeleteTopostoreResponse deleteTopostore(DeleteTopostoreRequest request) throws LogException
LogExceptionListTopostoreResponse listTopostore(ListTopostoreRequest request) throws LogException
LogExceptionCreateTopostoreNodeResponse createTopostoreNode(CreateTopostoreNodeRequest request) throws LogException
LogExceptionUpsertTopostoreNodeResponse upsertTopostoreNode(UpsertTopostoreNodeRequest request) throws LogException
LogExceptionUpdateTopostoreNodeResponse updateTopostoreNode(UpdateTopostoreNodeRequest request) throws LogException
LogExceptionDeleteTopostoreNodeResponse deleteTopostoreNode(DeleteTopostoreNodeRequest request) throws LogException
LogExceptionListTopostoreNodeResponse listTopostoreNode(ListTopostoreNodeRequest request) throws LogException
LogExceptionCreateTopostoreRelationResponse createTopostoreRelation(CreateTopostoreRelationRequest request) throws LogException
LogExceptionUpsertTopostoreRelationResponse upsertTopostoreRelation(UpsertTopostoreRelationRequest request) throws LogException
LogExceptionUpdateTopostoreRelationResponse updateTopostoreRelation(UpdateTopostoreRelationRequest request) throws LogException
LogExceptionDeleteTopostoreRelationResponse deleteTopostoreRelation(DeleteTopostoreRelationRequest request) throws LogException
LogExceptionListTopostoreRelationResponse listTopostoreRelation(ListTopostoreRelationRequest request) throws LogException
LogExceptionCreateResourceResponse createResource(CreateResourceRequest request) throws LogException
LogExceptionUpdateResourceResponse updateResource(UpdateResourceRequest request) throws LogException
LogExceptionGetResourceResponse getResource(GetResourceRequest request) throws LogException
LogExceptionDeleteResourceResponse deleteResource(DeleteResourceRequest request) throws LogException
LogExceptionListResourceResponse listResource(ListResourceRequest request) throws LogException
LogExceptionCreateResourceRecordResponse createResourceRecord(CreateResourceRecordRequest request) throws LogException
LogExceptionUpsertResourceRecordResponse upsertResourceRecord(UpsertResourceRecordRequest request) throws LogException
LogExceptionUpdateResourceRecordResponse updateResourceRecord(UpdateResourceRecordRequest request) throws LogException
LogExceptionGetResourceRecordResponse getResourceRecord(GetResourceRecordRequest request) throws LogException
LogExceptionDeleteResourceRecordResponse deleteResourceRecord(DeleteResourceRecordRequest request) throws LogException
LogExceptionListResourceRecordResponse listResourceRecord(ListResourceRecordRequest request) throws LogException
LogExceptionListNextResourceRecordResponse listNextResourceRecord(ListNextResourceRecordRequest request) throws LogException
LogExceptionCreateOrUpdateSqlInstanceResponse createSqlInstance(CreateOrUpdateSqlInstanceRequest request) throws LogException
LogExceptionCreateOrUpdateSqlInstanceResponse updateSqlInstance(CreateOrUpdateSqlInstanceRequest request) throws LogException
LogExceptionListSqlInstanceResponse listSqlInstance(ListSqlInstanceRequest request) throws LogException
LogExceptionSetProjectPolicyResponse setProjectPolicy(String projectName, String policyText) throws LogException
LogExceptionGetProjectPolicyReponse getProjectPolicy(String projectName) throws LogException
LogExceptionDeleteProjectPolicyReponse deleteProjectPolicy(String projectName) throws LogException
LogExceptionSetProjectCnameResponse setProjectCname(SetProjectCnameRequest request) throws LogException
LogExceptionListProjectCnameResponse listProjectCname(String project) throws LogException
LogExceptionVoidResponse deleteProjectCname(String project, String domain) throws LogException
LogExceptionCreateLogStoreResponse createEventStore(CreateLogStoreRequest request) throws LogException
LogExceptionCreateLogStoreResponse createEventStore(String project, LogStore logStore, Index index) throws LogException
LogExceptionUpdateLogStoreResponse updateEventStore(UpdateLogStoreRequest request) throws LogException
LogExceptionDeleteLogStoreResponse deleteEventStore(DeleteLogStoreRequest request) throws LogException
LogExceptionGetLogStoreResponse getEventStore(GetLogStoreRequest request) throws LogException
LogExceptionListLogStoresResponse listEventStores(ListLogStoresRequest request) throws LogException
LogExceptionVoidResponse updateLogStoreMeteringMode(UpdateLogStoreMeteringModeRequest request) throws LogException
LogExceptionGetLogStoreMeteringModeResponse getLogStoreMeteringMode(GetLogStoreMeteringModeRequest request) throws LogException
LogExceptionCreateMetricsConfigResponse createMetricsConfig(CreateMetricsConfigRequest request) throws LogException
LogExceptionUpdateMetricsConfigResponse updateMetricsConfig(UpdateMetricsConfigRequest request) throws LogException
LogExceptionDeleteMetricsConfigResponse deleteMetricsConfig(DeleteMetricsConfigRequest request) throws LogException
LogExceptionGetMetricsConfigResponse getMetricsConfig(GetMetricsConfigRequest request) throws LogException
LogExceptionListMetricsConfigResponse listMetricsConfig(ListMetricsConfigRequest request) throws LogException
LogExceptionCreateShipperMigrationResponse createShipperMigration(CreateShipperMigrationRequest request) throws LogException
LogExceptionGetShipperMigrationResponse getShipperMigration(GetShipperMigrationRequest request) throws LogException
LogExceptionListShipperMigrationResponse listShipperMigration(ListShipperMigrationRequest request) throws LogException
LogExceptionCopyright © 2025. All Rights Reserved.