I follow all the instructions to set up the infrastructure agent on an Amazon Linux machine. It started to report all instance metrics which was great.
Then I went ahead to enable logging, by adding configuring the log file that should be sent to New Relic. But even after half an hour, the logs haven’t shown up.
New Relic Agent Version: 1.11.22
Logs enabled for account: Yes
After enabling logging for the agent, I keep seeing this error there.
level=error msg=“Error occurred while handling the process” component=integrations.Supervisor error=“exit status 127” process=log-forwarder
The log configuration file inside logging.d:
logs: - name: testLog file: /var/log/test.log
The log file exists and shows data being added as well when I tail it.
Any ideas anyone where I might be going wrong this?