Skip to content

Commit

Permalink
Downgrade Splunk HEC error to warning (#732)
Browse files Browse the repository at this point in the history
* Downgrade Splunk HEC error to warning

* Update CHANGELOG
  • Loading branch information
ChimeraCoder authored Jun 27, 2019
1 parent 3c3bc47 commit 9d9345e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
## Updated

* Updated the vendored version of DataDog/datadog-go which adds support for sending metrics to Unix Domain socket. Thanks, [prudhvi](https://github.com/prudhvi)!
* Splunk sink: Downgraded Splunk HEC errors to be logged at warning level, rather than error level. Added a note to clarify that Splunk cluster restarts can cause temporary errors, which are not necessarily problematic. Thanks, [aditya](https://github.com/chimeracoder)!
* Updated the vendored version of github.com/gogo/protobuf which fixes Gopkg.toml conflicts for users of veneur. Thanks, [dtbartle](http://github.com/dtbartle)!

## Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion sinks/splunk/splunk.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ func (sss *splunkSpanSink) makeHTTPRequest(req *http.Request, cancel func()) {
"hec_status_code": parsed.Code,
"hec_response_text": parsed.Text,
"event_number": parsed.InvalidEventNumber,
}).Error("Error response from Splunk HEC")
}).Warn("Error response from Splunk HEC. (Splunk restarts may cause transient errors).")
}
samples.Add(ssf.Count(failureMetric, 1, map[string]string{
"cause": cause,
Expand Down

0 comments on commit 9d9345e

Please sign in to comment.