Registry / logging / fuyufjh-splunk-hec-go

fuyufjh-splunk-hec-go

JSON →
library0.4.0gogounverified

A Go client library for sending events to Splunk via the HTTP Event Collector (HEC) endpoint.

go get github.com/fuyufjh/splunk-hec-go
INSTALL
IMPORT
SIG · FUYUFJH-SPLUNK-HEC
F
fuyufjh-splunk-hec-go
logginggov0.4.0
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.

splunkhec
github.com/fuyufjh/splunk-hec-go

Sends a simple event to Splunk HEC.

package main import ( "fmt" "github.com/fuyufjh/splunk-hec-go" ) func main() { client := splunkhec.NewClient("https://splunk.example.com:8088", "your-token") err := client.WriteEvent("test", map[string]interface{}{"key": "value"}) if err != nil { fmt.Println(err) } }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
32
OpenAI (training)
1
Resources