We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc74d93 commit 3e273adCopy full SHA for 3e273ad
README.md
@@ -38,6 +38,7 @@ func main() {
38
Token: "{your-token}",
39
Source: "{your-source}",
40
SourceType: "{your-sourcetype}",
41
+ Index: "{your-index}",
42
}
43
44
// Send a log event
splunk/splunk.go
@@ -10,7 +10,7 @@ import (
10
"errors"
11
)
12
13
-// event represents the log event object that is sent to Splunk when *HTTPCollector.Log is called.
+// Event represents the log event object that is sent to Splunk when *HTTPCollector.Log is called.
14
type Event struct {
15
Time int64 `json:"time" binding:"required"` // epoch time in seconds
16
Host string `json:"host" binding:"required"` // hostname
0 commit comments