Closed dtrodger closed 2 years ago
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.
Hi @dtrodger , We have fixed the issue, and the changes will be available in the next release.
@dtrodger please refer the latest python-sdk release 1.6.19 and let us know if the issue still exists.
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.