Skip to content

Commit 3e273ad

Browse files
typo
1 parent bc74d93 commit 3e273ad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ func main() {
3838
Token: "{your-token}",
3939
Source: "{your-source}",
4040
SourceType: "{your-sourcetype}",
41+
Index: "{your-index}",
4142
}
4243

4344
// Send a log event

splunk/splunk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"errors"
1111
)
1212

13-
// event represents the log event object that is sent to Splunk when *HTTPCollector.Log is called.
13+
// Event represents the log event object that is sent to Splunk when *HTTPCollector.Log is called.
1414
type Event struct {
1515
Time int64 `json:"time" binding:"required"` // epoch time in seconds
1616
Host string `json:"host" binding:"required"` // hostname

0 commit comments

Comments
 (0)