refactored to typesafe Splunk parameters