_refersh_access_token function is for acquiring and refreshing scp access token every 30 mins
scpgen.py is a generator plugin to meet scp's request format
httpevent_scp is a output plugin used for hitting scp REST endpoint
Author: Ericsson(Che-Lun) Tsao from Performance Engineering (ctsao@splunk.com)
[README]
In the global section of configuration file, one has to specify client credentials(in JSON format) and auth api
=> client_credentials = {"client_id" : "**","client_secret" : "","grant_type" : "client_credentials"}
=> auth_url = https://auth.playground.scp.splunk.com/token
_refersh_access_token function is for acquiring and refreshing scp access token every 30 mins scpgen.py is a generator plugin to meet scp's request format httpevent_scp is a output plugin used for hitting scp REST endpoint
Author: Ericsson(Che-Lun) Tsao from Performance Engineering (ctsao@splunk.com)
[README] In the global section of configuration file, one has to specify client credentials(in JSON format) and auth api => client_credentials = {"client_id" : "**","client_secret" : "","grant_type" : "client_credentials"} => auth_url = https://auth.playground.scp.splunk.com/token
As for stanza section, generator, outputMode, and api url have to be specified, e.g... => generator = scpgen => outputMode = httpevent_scp => api_url = https://api.playground.scp.splunk.com/mytenant/ingest/v1beta2/events