I have installed Splunk Enterprise full instance on a Linux system and universal forwarder in different Linux system. I have to read the CPU and disk usage of the forwarder system to Splunk Enterprise system.
For that, i have installed Splunk App for Unix and Linux on Splunk Enterprise system for Splunk Web and Splunk Add-On for Unix and Linux to the forwarder system. But when i checked the splunkd.log on the forwarder system; it is giving the below error:
11-11-2016 17:47:50.237 +1100 ERROR ExecProcessor - message from "/opt/dir/splunkinstall/splunkforwarder/etc/apps/Splunk_TA_nix/bin/cpu.sh" /bin/sh: \r: No such file or directory
i have given the executable access `chmod a+x cpu.sh` and i have changed the SPLUNK_HOME "/opt/dir/splunkinstall/splunkforwarder" directory but still i am getting the same error.
Please provide the solution on the above query.
↧