def oneshot(self, path, **kwargs):
        self.post('oneshot', name=path, **kwargs)
Creates a oneshot data input, which is an upload of a single file
dataset/ETHPy150Open hvandenb/splunk-elasticsearch/search-elasticsearch/bin/splunklib/client.py/Inputs.oneshot