Registry / networking / elastic-elastic-agent-client-v7

elastic-elastic-agent-client-v7

JSON →
library7.18.1gogounverified

Go client library for communicating with Elastic Agent, providing APIs for agent management and monitoring.

go get github.com/elastic/elastic-agent-client/v7
INSTALL
IMPORT
SIG · ELASTIC-ELASTIC-AG
E
elastic-elastic-agent-client-v7
networkinggov7.18.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

elasticagentclient
github.com/elastic/elastic-agent-client/v7

Creates a client to connect to an Elastic Agent instance.

package main import ( "context" "log" "github.com/elastic/elastic-agent-client/v7/pkg/client" ) func main() { c, err := client.New(client.WithAddress("localhost:8220")) if err != nil { log.Fatal(err) } defer c.Close() log.Println("Connected to Elastic Agent") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
7.18.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
Resources