Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions splunklib/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2086,10 +2086,6 @@ def submit(self, event, host=None, source=None, sourcetype=None):
if source is not None: args['source'] = source
if sourcetype is not None: args['sourcetype'] = sourcetype

# The reason we use service.request directly rather than POST
# is that we are not sending a POST request encoded using
# x-www-form-urlencoded (as we do not have a key=value body),
# because we aren't really sending a "form".
self.service.post(PATH_RECEIVERS_SIMPLE, body=event, **args)
return self

Expand Down