hi All,
I have created a python script in my local that's working fine for me. But need to create it as a splunk addon to deploy for Splunk cloud hence need to pass username, password and accesstoken as variables to the code instead of hardcoding. Can someone please point me to any sample example scripts where we are passing variables to the script. Since am beginner in python finding it difficult with the Splunk python helper functions.
Thanks,
Devon
Splunk's developer pages (dev.splunk.com) should have that information. Have a look at https://dev.splunk.com/enterprise/tutorials/module_setuppages