Skip to content
/ go-s2s Public

Go library for sending structured events to Splunk using the S2S protocol

Notifications You must be signed in to change notification settings

bshuler/go-s2s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Go-S2S

Go S2S is a client implementation of the Splunk to Splunk protocol in Golang. It allows you to send structured data to Splunk using the same protocol as a Splunk forwarder.

Sample Usage:

    s, err := s2s.NewS2S([]string{"localhost:9997"}, 0)
	event := map[string]string{
		"index":      "main",
		"host":       "host",
		"source":     "myprog",
		"sourcetype": "myprog",
		"_raw":       "Here's an event!",
	}
	err = s.Send(event)

About

Go library for sending structured events to Splunk using the S2S protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages