Skip to content
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

Endpoint instance to HEC fails with 404 not found #345

Closed
dtrodger opened this issue Sep 13, 2020 · 2 comments
Closed

Endpoint instance to HEC fails with 404 not found #345

dtrodger opened this issue Sep 13, 2020 · 2 comments

Comments

@dtrodger
Copy link

dtrodger commented Sep 13, 2020

Calls to this endpoint return a 404. The SDK appends a '/' to the end of any uri. So, /services/collector/event is found, /services/collector/event/ is not.

event_collector_endpoint = splunklib.client.Endpoint(splunk_service, "/services/collector/event")

Subclassing client.Endpoints and overriding init like below works.

Screen Shot 2020-09-13 at 7 58 03 PM

@ashah-splunk
Copy link
Contributor

Hi @dtrodger , We have fixed the issue, and the changes will be available in the next release.

@ashah-splunk
Copy link
Contributor

@dtrodger please refer the latest python-sdk release 1.6.19 and let us know if the issue still exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants