package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev

# Functions

CheckForErrorsInLogs checks to see if any error-level lines exist excludeStrings can be used to remove any particular error strings from logs.
CheckForErrorsInLogsWithContext checks to see if any error-level lines exist excludeStrings can be used to remove any particular error strings from logs.
CreateAPIKey creates an API key with the given request data.
No description provided by the author
DeleteIndexTemplatesDataStreams deletes any data streams, then associcated index templates.
DeletePipelines deletes all pipelines that match the given pattern.
FindMatchingLogLines returns any logs with message fields that match the given line.
FindMatchingLogLinesForAgentWithContext returns the matching `message` line field for an agent with the matching ID.
FindMatchingLogLinesWithContext returns any logs with message fields that match the given line.
GetAllindicies returns a list of indicies on the target ES instance.
No description provided by the author
GetIndexTemplatesForPattern lists all index templates on the system.
GetIndicesWithContext returns a list of indicies on the target ES instance with the provided context.
GetLatestDocumentMatchingQuery returns the last document that matches the given query.
GetLogsForAgentID returns any logs associated with the agent ID.
GetLogsForDataset returns any logs associated with the datastream.
GetLogsForDatasetWithContext returns any logs associated with the datastream.
GetLogsForDatastream returns any logs associated with the datastream.
GetLogsForIndexWithContext returns any logs that match the given condition.
GetPing performs a basic ping and returns ES config info.
GetPipelines returns a list of installed pipelines that match the given name/pattern.
GetResultsForAgentAndDatastream returns any documents match both the given agent ID and data stream.
PerformQueryForRawQuery executes the ES query specified by queryRaw.

# Structs

APIKeyRequest contains the needed data to create an API key in Elasticsearch.
APIKeyResponse contains the response data for an API request.
DataStream represents a data stream template.
DataStreams represents the response from an ES _data_stream API.
Documents represents the complete response from an ES query.
ESDoc contains the documents returned by an ES query.
Hits returns the matching documents from an ES query.
Index is the data associated with a single index from _cat/indicies.
No description provided by the author
Ping returns basic ES info.
Pipeline is an individual pipeline.
Template is an individual template.
TemplateResponse is the body of a template data request.
TotalDocCount contains metadata for the ES response.
Version contains version and build info from an ES ping.

# Type aliases

CatIntData represents a shard/doc/byte count in Index{}.