We want to deploy an custom app via deployment server which has to execute an command in all the universal forwarders. We tried to create a app with the command but it is not reading the same and throwing warning message in splunkd.log as below.
WARN : cannot parse into key-value pair.
Hi,
That is possible. for windows uf's inputs.conf;
[script://.\\bin\\script.bat]
disabled = False
interval = 43200
For linux uf's; inputs.conf
[script://.\\bin\\script.sh]
disabled = False
interval = 43200
Finally ;
You must put script in bin folder same app.
Example bin folder;
custom_app/bin/script.bat
custom_app/bin/script.sh
Example local folder;
custom_app/local/inputs.conf
must be like above.