Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Endpoint instance to HEC fails with 404 not found #345

Closed
@dtrodger

Description

@dtrodger

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions