go-s2s

command module
v0.0.0-...-2f7a532 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2019 License: MIT Imports: 5 Imported by: 0

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)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL