Closed kurtkeller closed 4 years ago
Bump. I'd love to implement this in our SHC as well. Any way we can merge this in?
Thanks for the bump @jahshuah, I'll try to get this done next week.
Thanks @doksu!
Merged and new version uploaded to Splunkbase; just waiting for checks to run before it becomes visible.
Done! thanks everyone: https://splunkbase.splunk.com/app/3531/
On a searchhead cluster, everything in local/ is merged to default/ when deploying an app. Therefor checking the config file in local/ only will not work in such an installation. Get the config from default/ first (if available), then get overrides from local/ (if available). Addidional info: In a searchhead cluster, the setup screen will not work, the configuration must be done manually and deployed via the searchhead deployer.
The path to the asngen.conf file was hardcoded, relative to $SPLUNK_HOME. When the app is installed under a different name, then reading the config file fails. Change this to a completely relative path, based on the current working directory, which is the bin/ directory in the ap