I want to automate uploading a csv file to lookup tables of a specific destination app in my splunk. I can do this from splunk GUI as shown below, however I was trying to find a way to do it from python. I tried the following code which doesn't seem to be correct.
path = 'data/inputs/oneshot'
Service.post(path, name=filename, **kwargs)