LogpointApi.SearchApi (logpoint_api v0.2.3)
This module provides an implementation of the Logpoint search API.
Summary
Functions
Get the devices of the instance.
Get all live search on a machine.
Get all logpoints of a Logpoint instance.
Get the repos of an instance.
Create a search and get its search id.
Retrieve the search result of a specific search id.
Get the current users time zone information.
Functions
@spec get_devices(String.t(), LogpointApi.Credential.t()) :: {:ok, map()} | {:error, String.t()}
Get the devices of the instance.
@spec get_livesearches(String.t(), LogpointApi.Credential.t()) :: {:ok, map()} | {:error, String.t()}
Get all live search on a machine.
@spec get_logpoints(String.t(), LogpointApi.Credential.t()) :: {:ok, map()} | {:error, String.t()}
Get all logpoints of a Logpoint instance.
@spec get_repos(String.t(), LogpointApi.Credential.t()) :: {:ok, map()} | {:error, String.t()}
Get the repos of an instance.
@spec get_search_id( String.t(), LogpointApi.Credential.t(), LogpointApi.SearchApi.Query.t() ) :: {:ok, map()} | {:error, String.t()}
Create a search and get its search id.
@spec get_search_result(String.t(), LogpointApi.Credential.t(), String.t()) :: {:ok, map()} | {:error, String.t()}
Retrieve the search result of a specific search id.
@spec get_user_timezone(String.t(), LogpointApi.Credential.t()) :: {:ok, map()} | {:error, String.t()}
Get the current users time zone information.