public interface LogService
限定符和类型 | 方法和说明 |
---|---|
ApplyConfigToMachineGroupResponse |
ApplyConfigToMachineGroup(ApplyConfigToMachineGroupRequest request)
Apply config to machine group
|
ApplyConfigToMachineGroupResponse |
ApplyConfigToMachineGroup(java.lang.String project,
java.lang.String groupName,
java.lang.String configName)
Apply config to machine group
|
BatchGetLogResponse |
BatchGetLog(BatchGetLogRequest request)
Batch get log
|
BatchGetLogResponse |
BatchGetLog(java.lang.String project,
java.lang.String logStore,
int shardId,
int count,
java.lang.String cursor)
Batch get log
|
CreateConfigResponse |
CreateConfig(CreateConfigRequest request)
Create logtail config
|
CreateConfigResponse |
CreateConfig(java.lang.String project,
Config config)
Create logtail config
|
CreateIndexResponse |
CreateIndex(CreateIndexRequest request)
create logstore index
|
CreateIndexResponse |
CreateIndex(java.lang.String project,
java.lang.String logStore,
Index index)
create logstore index
|
CreateLogStoreResponse |
CreateLogStore(CreateLogStoreRequest request)
create logstore
|
CreateLogStoreResponse |
CreateLogStore(java.lang.String project,
LogStore logStore)
create a logstore in a project
|
CreateMachineGroupResponse |
CreateMachineGroup(CreateMachineGroupRequest request)
Create machine group
|
CreateMachineGroupResponse |
CreateMachineGroup(java.lang.String project,
MachineGroup group)
Create machine group
|
DeleteConfigResponse |
DeleteConfig(DeleteConfigRequest request)
Delete logtail config
|
DeleteConfigResponse |
DeleteConfig(java.lang.String project,
java.lang.String configName)
Delete logtail config
|
DeleteIndexResponse |
DeleteIndex(DeleteIndexRequest request)
delete logstore index
|
DeleteIndexResponse |
DeleteIndex(java.lang.String project,
java.lang.String logStore)
delete logstore index
|
DeleteLogStoreResponse |
DeleteLogStore(DeleteLogStoreRequest request)
Delete logstore
|
DeleteLogStoreResponse |
DeleteLogStore(java.lang.String project,
java.lang.String logStoreName)
Delete the logstore
|
DeleteMachineGroupResponse |
DeleteMachineGroup(DeleteMachineGroupRequest request)
Delete machine group
|
DeleteMachineGroupResponse |
DeleteMachineGroup(java.lang.String project,
java.lang.String groupName)
Delete machine group
|
GetAppliedConfigResponse |
GetAppliedConfig(GetAppliedConfigsRequest request)
get applied config on a certain machine group
|
GetAppliedConfigResponse |
GetAppliedConfig(java.lang.String project,
java.lang.String groupName)
get applied config on a certain machine group
|
GetAppliedMachineGroupsResponse |
GetAppliedMachineGroups(GetAppliedMachineGroupRequest request)
get applied machine group for a certain logtail config
|
GetAppliedMachineGroupsResponse |
GetAppliedMachineGroups(java.lang.String project,
java.lang.String configName)
get applied machine group for a certain logtail config
|
GetConfigResponse |
GetConfig(GetConfigRequest request)
Get logtail config
|
GetConfigResponse |
GetConfig(java.lang.String project,
java.lang.String configName)
Get logtail config
|
GetCursorResponse |
GetCursor(GetCursorRequest request)
Get cursor from log service server
|
GetCursorResponse |
GetCursor(java.lang.String project,
java.lang.String logStore,
int shardId,
Consts.CursorMode mode)
Get cursor from log service server
|
GetCursorResponse |
GetCursor(java.lang.String project,
java.lang.String logStore,
int shardId,
java.util.Date fromTime)
Get cursor from log service server
|
GetCursorResponse |
GetCursor(java.lang.String project,
java.lang.String logStore,
int shardId,
long fromTime)
Get cursor from log service server
|
GetHistogramsResponse |
GetHistograms(GetHistogramsRequest request)
Get The log status(histogram info) from log service server which match input
parameters.
|
GetHistogramsResponse |
GetHistograms(java.lang.String project,
java.lang.String logstore,
int from,
int to,
java.lang.String topic,
java.lang.String query)
Get The log status(histogram info) from log service server which match input
parameters.
|
GetIndexResponse |
GetIndex(GetIndexRequest request)
Get logstore index config
|
GetIndexResponse |
GetIndex(java.lang.String project,
java.lang.String logStore)
Get logstore index config
|
GetLogsResponse |
GetLogs(GetLogsRequest request)
Get The sub set of logs data from log service server which match input
parameters.
|
GetLogsResponse |
GetLogs(java.lang.String project,
java.lang.String logStore,
int from,
int to,
java.lang.String topic,
java.lang.String query)
Get The sub set of logs data from log service server which match input
parameters.
|
GetLogsResponse |
GetLogs(java.lang.String project,
java.lang.String logStore,
int from,
int to,
java.lang.String topic,
java.lang.String query,
int line,
int offset,
boolean reverse)
Get The sub set of logs data from log service server which match input
parameters.
|
GetLogStoreResponse |
GetLogStore(GetLogStoreRequest request)
get the logstore config
|
GetLogStoreResponse |
GetLogStore(java.lang.String project,
java.lang.String logStoreName)
Get the logstore config
|
GetMachineGroupResponse |
GetMachineGroup(GetMachineGroupRequest request)
Get machine group
|
GetMachineGroupResponse |
GetMachineGroup(java.lang.String project,
java.lang.String groupName)
Get machine group
|
ListACLResponse |
ListACL(ListACLRequest request)
List ACL
|
ListACLResponse |
ListACL(java.lang.String project)
List ACL
|
ListACLResponse |
ListACL(java.lang.String project,
int offSet,
int size)
List ACL
|
ListACLResponse |
ListACL(java.lang.String project,
java.lang.String logStore)
List ACL
|
ListACLResponse |
ListACL(java.lang.String project,
java.lang.String logStore,
int offSet,
int size)
List ACL
|
ListConfigResponse |
ListConfig(ListConfigRequest request)
List logtail configs
|
ListConfigResponse |
ListConfig(java.lang.String project)
List logtail configs
|
ListConfigResponse |
ListConfig(java.lang.String project,
int offSet,
int size)
List logtail configs
|
ListConfigResponse |
ListConfig(java.lang.String project,
java.lang.String configName,
int offSet,
int size)
List logtail configs
|
ListLogStoresResponse |
ListLogStores(ListLogStoresRequest request)
Get all the logstore of a project
|
ListLogStoresResponse |
ListLogStores(java.lang.String project,
int offset,
int size,
java.lang.String logstoreName)
Get all the logstore for the user
|
ListMachineGroupResponse |
ListMachineGroup(ListMachineGroupRequest request)
List machine groups
|
ListMachineGroupResponse |
ListMachineGroup(java.lang.String project)
List machine groups
|
ListMachineGroupResponse |
ListMachineGroup(java.lang.String project,
int offSet,
int size)
List machine groups
|
ListMachineGroupResponse |
ListMachineGroup(java.lang.String project,
java.lang.String groupName,
int offSet,
int size)
List machine groups
|
ListMachinesResponse |
ListMachines(java.lang.String project,
java.lang.String machineGroup,
int offset,
int size)
List the real machines in the machine group
|
ListShardResponse |
ListShard(ListShardRequest request)
Get the shards in the logtstore
|
ListShardResponse |
ListShard(java.lang.String project,
java.lang.String logStore)
Get the shards in the logtstore
|
ListTopicsResponse |
ListTopics(ListTopicsRequest request)
Get the topics in the logtstore
|
ListTopicsResponse |
ListTopics(java.lang.String project,
java.lang.String logStore,
java.lang.String token,
int line)
Get the topics in the logtstore
|
PutLogsResponse |
PutLogs(PutLogsRequest request)
Send Data to log service server
|
PutLogsResponse |
PutLogs(java.lang.String project,
java.lang.String logStore,
java.lang.String topic,
java.util.List<LogItem> logItems,
java.lang.String source)
Send Data to log service server
|
RemoveConfigFromMachineGroupResponse |
RemoveConfigFromMachineGroup(RemoveConfigFromMachineGroupRequest request)
Remove config from machine group
|
RemoveConfigFromMachineGroupResponse |
RemoveConfigFromMachineGroup(java.lang.String project,
java.lang.String groupName,
java.lang.String configName)
Remove config from machine group
|
UpdateACLResponse |
UpdateACL(java.lang.String project,
ACL acl)
Update project ACL
|
UpdateACLResponse |
UpdateACL(java.lang.String project,
java.lang.String logStore,
ACL acl)
update log sotre acl
|
UpdateACLResponse |
UpdateACL(UpdateACLRequest request)
Update ACL
|
UpdateConfigResponse |
UpdateConfig(java.lang.String project,
Config config)
Update logtail config
|
UpdateConfigResponse |
UpdateConfig(UpdateConfigRequest request)
Update logtail config
|
UpdateIndexResponse |
UpdateIndex(java.lang.String project,
java.lang.String logStore,
Index index)
Update logstore index config
|
UpdateIndexResponse |
UpdateIndex(UpdateIndexRequest request)
update logstore index config
|
UpdateLogStoreResponse |
UpdateLogStore(java.lang.String project,
LogStore logStore)
Update log store config
|
UpdateLogStoreResponse |
UpdateLogStore(UpdateLogStoreRequest request)
Update logstore config
|
UpdateMachineGroupResponse |
UpdateMachineGroup(java.lang.String project,
MachineGroup group)
Update machine group
|
UpdateMachineGroupResponse |
UpdateMachineGroup(UpdateMachineGroupRequest request)
Update machine group
|
GetHistogramsResponse GetHistograms(java.lang.String project, java.lang.String logstore, int from, int to, java.lang.String topic, java.lang.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 serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- 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 serverjava.lang.NullPointerException
- if required paremter is nullGetLogsResponse GetLogs(java.lang.String project, java.lang.String logStore, int from, int to, java.lang.String topic, java.lang.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 serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if project or logstore is emptyGetLogsResponse GetLogs(java.lang.String project, java.lang.String logStore, int from, int to, java.lang.String topic, java.lang.String query, int line, int offset, boolean reverse) 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.LogException
- if any error happen when get the data from log service serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if project or logstore is emptyGetLogsResponse GetLogs(GetLogsRequest request) throws LogException
request
- the get logs requestjava.lang.NullPointerException
- if required paremter is nullLogException
- if any error happen when get the data from log service serverListLogStoresResponse ListLogStores(java.lang.String project, int offset, int size, java.lang.String logstoreName) throws LogException
project
- the project nameLogException
- if any error happen when get the data from log service serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- 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 serverjava.lang.NullPointerException
- if required paremter is nullListTopicsResponse ListTopics(java.lang.String project, java.lang.String logStore, java.lang.String token, int line) throws LogException
project
- the project namelogStore
- where the topic belongs totoken
- all the returned topics are equal or larger than the given
token according to topics' lexicographical orderline
- the topic number from log service serverLogException
- if any error happen when get the data from log service serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if project or logstore is emptyListTopicsResponse ListTopics(ListTopicsRequest request) throws LogException
request
- the list topics requestLogException
- if any error happen when get the data from log service serverjava.lang.NullPointerException
- if required paremter is nullPutLogsResponse PutLogs(java.lang.String project, java.lang.String logStore, java.lang.String topic, java.util.List<LogItem> logItems, java.lang.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 serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- 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 serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if project or logstore is empty, or the logGroup log count
exceed 4096, or the total data size exceed 5MBGetCursorResponse GetCursor(java.lang.String project, java.lang.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 serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if project or logStore is emptyGetCursorResponse GetCursor(java.lang.String project, java.lang.String logStore, int shardId, java.util.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 serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if any string argument in request is emptyGetCursorResponse GetCursor(java.lang.String project, java.lang.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 serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- 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 serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if any string argument in request is emptyListShardResponse ListShard(java.lang.String project, java.lang.String logStore) throws LogException
project
- the project namelogStore
- where the shard belongs toLogException
- if any error happen when get the data from log service serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- 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 serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if project or logstore in request is emptyBatchGetLogResponse BatchGetLog(java.lang.String project, java.lang.String logStore, int shardId, int count, java.lang.String cursor) throws LogException
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 serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if project or logstore or cursor is emptyBatchGetLogResponse BatchGetLog(BatchGetLogRequest request) throws LogException
request
- the batch get log requestLogException
- if any error happen when get the data from log service serverjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if project or logstore or cursor in request is emptyCreateConfigResponse CreateConfig(java.lang.String project, Config config) throws LogException
project
- the project nameconfig
- the full config resourceLogException
- if any error happen when creating logtail configjava.lang.NullPointerException
- if config resource parameter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyCreateConfigResponse CreateConfig(CreateConfigRequest request) throws LogException
request
- the create config requestLogException
- if any error happen when creating logtail configjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyUpdateConfigResponse UpdateConfig(java.lang.String project, Config config) throws LogException
project
- the project nameconfig
- the full config resourceLogException
- if any error happen when updating logtail configjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyUpdateConfigResponse UpdateConfig(UpdateConfigRequest request) throws LogException
request
- the update config requestLogException
- if any error happen when updating logtail configjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyGetConfigResponse GetConfig(java.lang.String project, java.lang.String configName) throws LogException
project
- the project nameconfigName
- the config nameLogException
- if any error happen when getting logtail configjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if configName is emptyGetConfigResponse GetConfig(GetConfigRequest request) throws LogException
request
- the get config requestLogException
- if any error happen when getting logtail configjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyDeleteConfigResponse DeleteConfig(java.lang.String project, java.lang.String configName) throws LogException
project
- the project nameconfigName
- the config nameLogException
- if any error happen when deleting logtail configjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyDeleteConfigResponse DeleteConfig(DeleteConfigRequest request) throws LogException
request
- the delete config requestLogException
- if any error happen when deleting logtail configjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyListConfigResponse ListConfig(java.lang.String project) throws LogException
project
- the project nameLogException
- if any error happen when listing logtail configsjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyListConfigResponse ListConfig(java.lang.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 configsjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyListConfigResponse ListConfig(java.lang.String project, java.lang.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 configsjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyListConfigResponse ListConfig(ListConfigRequest request) throws LogException
request
- the list configs requestLogException
- if any error happen when listing logtail configsjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyGetAppliedConfigResponse GetAppliedConfig(java.lang.String project, java.lang.String groupName) throws LogException
project
- the project namegroupName
- the machine group nameLogException
- if any error happen when get applied config configsjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- 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 configsjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyGetAppliedMachineGroupsResponse GetAppliedMachineGroups(java.lang.String project, java.lang.String configName) throws LogException
project
- the project nameconfigName
- the config nameLogException
- if any error happen when get applied config configsjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- 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 configsjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyCreateMachineGroupResponse CreateMachineGroup(java.lang.String project, MachineGroup group) throws LogException
project
- the project namegroup
- the full machine group resourceLogException
- if any error happen when creating machine groupjava.lang.NullPointerException
- if machine group resource parameter is nulljava.lang.IllegalArgumentException
- 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 groupjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyUpdateMachineGroupResponse UpdateMachineGroup(java.lang.String project, MachineGroup group) throws LogException
project
- the project namegroup
- the full machine group resourceLogException
- if any error happen when updating machine groupjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- 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 groupjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyGetMachineGroupResponse GetMachineGroup(java.lang.String project, java.lang.String groupName) throws LogException
project
- the project namegroupName
- the machine group nameLogException
- if any error happen when getting machine groupjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- 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 groupjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyDeleteMachineGroupResponse DeleteMachineGroup(java.lang.String project, java.lang.String groupName) throws LogException
project
- the project namegroupName
- the machine group nameLogException
- if any error happen when deleting machine groupjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- 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 groupjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyListMachineGroupResponse ListMachineGroup(java.lang.String project) throws LogException
project
- the project nameLogException
- if any error happen when listing machine groupsjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyListMachinesResponse ListMachines(java.lang.String project, java.lang.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 machinesjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyListMachineGroupResponse ListMachineGroup(java.lang.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 groupsjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyListMachineGroupResponse ListMachineGroup(java.lang.String project, java.lang.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 groupsjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- 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 groupjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyApplyConfigToMachineGroupResponse ApplyConfigToMachineGroup(java.lang.String project, java.lang.String groupName, java.lang.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 groupjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- 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 groupjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyRemoveConfigFromMachineGroupResponse RemoveConfigFromMachineGroup(java.lang.String project, java.lang.String groupName, java.lang.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 groupjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- 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 groupjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyUpdateACLResponse UpdateACL(java.lang.String project, ACL acl) throws LogException
project
- the project nameacl
- the full acl resource with aclIdLogException
- if any error happen when updating acljava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyUpdateACLResponse UpdateACL(java.lang.String project, java.lang.String logStore, ACL acl) throws LogException
project
- project namelogStore
- log store nameacl
- acl configLogException
- if any error happenjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyUpdateACLResponse UpdateACL(UpdateACLRequest request) throws LogException
request
- the update acl requestLogException
- if any error happen when updating acljava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyListACLResponse ListACL(java.lang.String project) throws LogException
project
- the project nameLogException
- if any error happen when listing acljava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyListACLResponse ListACL(java.lang.String project, java.lang.String logStore) throws LogException
project
- the project nameLogException
- if any error happen when listing acljava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyListACLResponse ListACL(java.lang.String project, int offSet, int size) throws LogException
project
- the project nameoffSet
- the list offsetsize
- the query sizeLogException
- if any error happen when listing acljava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyListACLResponse ListACL(java.lang.String project, java.lang.String logStore, int offSet, int size) throws LogException
project
- the project nameoffSet
- the list offsetsize
- the query sizeLogException
- if any error happen when listing acljava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyListACLResponse ListACL(ListACLRequest request) throws LogException
request
- the list acl requestLogException
- if any error happen when listing acljava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyCreateLogStoreResponse CreateLogStore(java.lang.String project, LogStore logStore) throws LogException
project
- the project namelogStore
- the configLogException
- if any error happen when creasting logstorejava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if project is emptyCreateLogStoreResponse CreateLogStore(CreateLogStoreRequest request) throws LogException
request
- logstore create requestLogException
- if any error happen when creasting logstorejava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyUpdateLogStoreResponse UpdateLogStore(java.lang.String project, LogStore logStore) throws LogException
project
- the project namelogStore
- the logsotre configLogException
- if any error happen when updating logstorejava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if project is emptyUpdateLogStoreResponse UpdateLogStore(UpdateLogStoreRequest request) throws LogException
request
- update logstore requstLogException
- if any error happen when updating logstorejava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyDeleteLogStoreResponse DeleteLogStore(java.lang.String project, java.lang.String logStoreName) throws LogException
project
- the project namelogStoreName
- the lostore to deleteLogException
- if any error happen when deleting logstorejava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if an param is emptyDeleteLogStoreResponse DeleteLogStore(DeleteLogStoreRequest request) throws LogException
request
- delete logstore requestLogException
- if any error happen when deleting logstorejava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyGetLogStoreResponse GetLogStore(java.lang.String project, java.lang.String logStoreName) throws LogException
project
- the project namelogStoreName
- the logstore nameLogException
- if any error happen when getting logstore configjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if any parameter is emptyGetLogStoreResponse GetLogStore(GetLogStoreRequest request) throws LogException
request
- the get logstore config requestLogException
- if any error happen when getting logstore configjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyCreateIndexResponse CreateIndex(java.lang.String project, java.lang.String logStore, Index index) throws LogException
project
- the project namelogStore
- the logstore nameindex
- logstore index configLogException
- if any error happen when creating indexjava.lang.NullPointerException
- if the request is nulljava.lang.IllegalArgumentException
- if any string paramter is emptyCreateIndexResponse CreateIndex(CreateIndexRequest request) throws LogException
request
- the create logstore index requestLogException
- if any error happen when creating indexjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyUpdateIndexResponse UpdateIndex(java.lang.String project, java.lang.String logStore, Index index) throws LogException
project
- project namelogStore
- logstore nameindex
- logstore index configLogException
- if any error happen when updating logstore index configjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if any string parameter is emptyUpdateIndexResponse UpdateIndex(UpdateIndexRequest request) throws LogException
request
- update logstore index requestLogException
- if any error happen when update logstore index configjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyDeleteIndexResponse DeleteIndex(java.lang.String project, java.lang.String logStore) throws LogException
project
- project namelogStore
- store nameLogException
- if any error happen when deleting logstore index configjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if any string parameter is emptyDeleteIndexResponse DeleteIndex(DeleteIndexRequest request) throws LogException
request
- delete logstore index configLogException
- if any error happen when deleting logstore index configjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is emptyGetIndexResponse GetIndex(java.lang.String project, java.lang.String logStore) throws LogException
project
- project namelogStore
- logstore nameLogException
- if any error happen when get index configjava.lang.NullPointerException
- if any parameter is nulljava.lang.IllegalArgumentException
- if any string parameter is emptyGetIndexResponse GetIndex(GetIndexRequest request) throws LogException
request
- get logstore index requestLogException
- if any error happen when getting index configjava.lang.NullPointerException
- if required paremter is nulljava.lang.IllegalArgumentException
- if any required string parameter is empty