Package com.seeq.api

Class LogsApi

java.lang.Object
com.seeq.api.LogsApi

public class LogsApi extends Object
  • Constructor Details

    • LogsApi

      public LogsApi()
    • LogsApi

      public LogsApi(ApiClient apiClient)
  • Method Details

    • setRetryTimeout

      public void setRetryTimeout(long retryTimeout)
    • getRetryTimeout

      public long getRetryTimeout()
    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • downloadLogs

      public void downloadLogs(String downloadLogsCookie) throws ApiException
      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

      public void downloadLogsWithHttpInfo(String downloadLogsCookie) throws ApiException
      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 ApiException
      Download 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

      public List<String> getAvailableLogFiles() throws ApiException
      Get a list of available log files.
      Returns:
      List<String>
      Throws:
      ApiException - if fails to make API call
    • getAvailableLogFilesWithHttpInfo

      public ApiClient.ApiResponse<List<String>> getAvailableLogFilesWithHttpInfo() throws ApiException
      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 ApiException
      Get 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 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)
      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

      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 ApiException
      Send 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