-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[splunkhecreceiver] hec receiver handle raw should return JSON ok response #29745
Labels
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Do you want to offer a patch @splunkericl ? |
@atoulme yeah our team can help out with this change some time this week. |
95 tasks
dmitryax
pushed a commit
that referenced
this issue
Dec 15, 2023
**Description:** Adds enhancement for splunk hec receiver raw path - previously it returns no response in http body: it nows returns json response **Link to tracking Issue:** #29745
closing as the change has been merged in |
cparkins
pushed a commit
to AmadeusITGroup/opentelemetry-collector-contrib
that referenced
this issue
Jan 10, 2024
**Description:** Adds enhancement for splunk hec receiver raw path - previously it returns no response in http body: it nows returns json response **Link to tracking Issue:** open-telemetry#29745
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
splunkhecreceiver has an endpoint
/services/collector/raw
. When ingest data successfully, it writes 200 http response wihtout http response body. This is inconsistent with the splunk enterprise/cloud behavior.its sibling endpoint
/services/collector/
returns http json response as well so it is also inconsistent.Steps to reproduce
ingest an event log with
/services/collector/raw
endpoint:What did you expect to see?
http json response with 200 status:
What did you see instead?
empty http response with 200 status
What version did you use?
Version: latest
What config did you use?
Config: any configs that spawn a hecreceiver
Additional context
essentially handleRawReq needs to write success response body here: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/splunkhecreceiver/receiver.go#L295
The text was updated successfully, but these errors were encountered: