syslog-NG SSB to splunk API ingest

Looking for some help regarding getting logs from a syslog SSB back to a splunk index. I know we can export a *.csv from SSB, but I was told there is an API like method to get logs from the SSB, and ingest them into a splunk index via a python script. looking for some general information to help me develop that. Anyone have this working in their environment? if so, Please share some data with me. Thanks in advance!