Package com.seeq.api
Class LogsApi
java.lang.Object
com.seeq.api.LogsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
downloadLogs
(String downloadLogsCookie) Download the log files in zipped form.void
downloadLogsWithHeadersAndHttpInfo
(String downloadLogsCookie, Map<String, String> customHeaders) Download the log files in zipped form.void
downloadLogsWithHttpInfo
(String downloadLogsCookie) Download the log files in zipped form.Get a list of available log files.getAvailableLogFilesWithHeadersAndHttpInfo
(Map<String, String> customHeaders) Get a list of available log files.Get a list of available log files.getLogs
(String log, String startTime, String endTime, Integer limit, String sorted, String level, String sourceContains, String messageContains) Get a collection of log messagesgetLogsWithHeadersAndHttpInfo
(String log, String startTime, String endTime, Integer limit, String sorted, String level, String sourceContains, String messageContains, Map<String, String> customHeaders) Get a collection of log messagesgetLogsWithHttpInfo
(String log, String startTime, String endTime, Integer limit, String sorted, String level, String sourceContains, String messageContains) Get a collection of log messageslong
send
(SupportRequestInputV1 body) Send a support request along with the log files to Seeq.sendWithHeadersAndHttpInfo
(SupportRequestInputV1 body, Map<String, String> customHeaders) Send a support request along with the log files to Seeq.Send a support request along with the log files to Seeq.void
setApiClient
(ApiClient apiClient) void
setRetryTimeout
(long retryTimeout)
-
Constructor Details
-
LogsApi
public LogsApi() -
LogsApi
-
-
Method Details
-
setRetryTimeout
public void setRetryTimeout(long retryTimeout) -
getRetryTimeout
public long getRetryTimeout() -
getApiClient
-
setApiClient
-
downloadLogs
Download the log files in zipped form.- Parameters:
downloadLogsCookie
- The value to return as a cookie. (optional)- Throws:
ApiException
- if fails to make API call
-
downloadLogsWithHttpInfo
Download the log files in zipped form.- Parameters:
downloadLogsCookie
- The value to return as a cookie. (optional)- Throws:
ApiException
- if fails to make API call
-
downloadLogsWithHeadersAndHttpInfo
public void downloadLogsWithHeadersAndHttpInfo(String downloadLogsCookie, Map<String, String> customHeaders) throws ApiExceptionDownload the log files in zipped form.- Parameters:
downloadLogsCookie
- The value to return as a cookie. (optional)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
getAvailableLogFiles
Get a list of available log files.- Returns:
- List<String>
- Throws:
ApiException
- if fails to make API call
-
getAvailableLogFilesWithHttpInfo
Get a list of available log files.- Throws:
ApiException
- if fails to make API call
-
getAvailableLogFilesWithHeadersAndHttpInfo
public ApiClient.ApiResponse<List<String>> getAvailableLogFilesWithHeadersAndHttpInfo(Map<String, String> customHeaders) throws ApiExceptionGet a list of available log files.- Parameters:
customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
getLogs
public List<LogMessage> getLogs(String log, String startTime, String endTime, Integer limit, String sorted, String level, String sourceContains, String messageContains) throws ApiException Get a collection of log messages- Parameters:
log
- ID of the log to retrieve (required)startTime
- Starting time to filter log messages on. (required)endTime
- Ending time to filter log messages on. It will default to the current time if none is specified. (optional)limit
- The (soft) limit for the number of log messages to return. (required)sorted
- Whether log messages should be sorted in ascending order, 'ASC', by their time or descending order, 'DESC'. (optional, default to ASC)level
- The minimum log level to include. (optional, default to DEBUG)sourceContains
- A substring that the source field of the log messages must contain to be returned. (optional)messageContains
- A substring that the message field of the log messages must contain to be returned. (optional)- Returns:
- List<LogMessage>
- Throws:
ApiException
- if fails to make API call
-
getLogsWithHttpInfo
public ApiClient.ApiResponse<List<LogMessage>> getLogsWithHttpInfo(String log, String startTime, String endTime, Integer limit, String sorted, String level, String sourceContains, String messageContains) throws ApiException Get a collection of log messages- Parameters:
log
- ID of the log to retrieve (required)startTime
- Starting time to filter log messages on. (required)endTime
- Ending time to filter log messages on. It will default to the current time if none is specified. (optional)limit
- The (soft) limit for the number of log messages to return. (required)sorted
- Whether log messages should be sorted in ascending order, 'ASC', by their time or descending order, 'DESC'. (optional, default to ASC)level
- The minimum log level to include. (optional, default to DEBUG)sourceContains
- A substring that the source field of the log messages must contain to be returned. (optional)messageContains
- A substring that the message field of the log messages must contain to be returned. (optional)- Throws:
ApiException
- if fails to make API call
-
getLogsWithHeadersAndHttpInfo
public ApiClient.ApiResponse<List<LogMessage>> getLogsWithHeadersAndHttpInfo(String log, String startTime, String endTime, Integer limit, String sorted, String level, String sourceContains, String messageContains, Map<String, String> customHeaders) throws ApiExceptionGet a collection of log messages- Parameters:
log
- ID of the log to retrieve (required)startTime
- Starting time to filter log messages on. (required)endTime
- Ending time to filter log messages on. It will default to the current time if none is specified. (optional)limit
- The (soft) limit for the number of log messages to return. (required)sorted
- Whether log messages should be sorted in ascending order, 'ASC', by their time or descending order, 'DESC'. (optional, default to ASC)level
- The minimum log level to include. (optional, default to DEBUG)sourceContains
- A substring that the source field of the log messages must contain to be returned. (optional)messageContains
- A substring that the message field of the log messages must contain to be returned. (optional)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
send
Send a support request along with the log files to Seeq.- Parameters:
body
- Support request information (required)- Returns:
- SupportRequestOutputV1
- Throws:
ApiException
- if fails to make API call
-
sendWithHttpInfo
public ApiClient.ApiResponse<SupportRequestOutputV1> sendWithHttpInfo(SupportRequestInputV1 body) throws ApiException Send a support request along with the log files to Seeq.- Parameters:
body
- Support request information (required)- Throws:
ApiException
- if fails to make API call
-
sendWithHeadersAndHttpInfo
public ApiClient.ApiResponse<SupportRequestOutputV1> sendWithHeadersAndHttpInfo(SupportRequestInputV1 body, Map<String, String> customHeaders) throws ApiExceptionSend a support request along with the log files to Seeq.- Parameters:
body
- Support request information (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-