Discover Packages
github.com/coccyx/go-s2s
command
module
Version:
v0.0.0-...-2f7a532
Opens a new window with list of versions in this module.
Published: Jun 15, 2019
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
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)
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Package s2s is a client implementation of the Splunk to Splunk protocol in Golang
Package s2s is a client implementation of the Splunk to Splunk protocol in Golang
Click to show internal directories.
Click to hide internal directories.