fastly / sigsci-splunk-app

Splunk app for Fastly (Signal Sciences)
https://splunkbase.splunk.com/app/3495
MIT License
9 stars 10 forks source link

Investigate how to pull Host field from Module Input configuration page #1

Closed dacoburn closed 4 years ago

dacoburn commented 6 years ago

Currently the splunklib that comes with the Splunk Add-on Builder has a function to pull the index helper.get_output_index. Right now I don't see a similar function for getting the host entry. It does look possible when creating the event to override Host but not useful unless it is possible to pull the value.

Calling helper.get_arg('Host') doesn't seem to work.

image