Log Forwarding under Administration > Control Panel > Log Forwarding in Aria Operations has been configured using an IP in the Host field, but no logs are being sent.
VMware Aria Operations 8.x
An extra non IP address character is present in the IP address if due to copying and pasting in to the Host field.
Aria Operations uses the Aria Operations for Logs agent that is preinstalled on the appliance VMs to forward logs.
Entries like below will be seen in the /var/log/loginsight-agent/liagent_<date>.log
file on the appliance VM.
<trace> Config:292 | Read config param [server].hostname = 10.1.2.3
...
<trace> Logger:209 | Thread "SyslogConnection" has id 0x7fe8822196c0
<error> SyslogConnectio:265| Resolver failed. Host not found (authoritative)
Read config param [server].hostname = 10.1.2.3
Resolver failed. Host not found (authoritative)
Reviewing the log entry with cat -e
will reveal an invisible character in the IP address
grep -m 1 'Read config param \[server\].hostname' /var/log/loginsight-agent/liagent_*.log | rev | cut -d' ' -f1 | rev | cat -e
Example
$ grep -m 1 'Read config param \[server\].hostname' /var/log/loginsight-agent/liagent_*.log | rev | cut -d' ' -f1 | rev | cat -e
10.1.2.3M-BM- $
Correct Example
$ grep -m 1 'Read config param \[server\].hostname' /var/log/loginsight-agent/liagent_*.log | rev | cut -d' ' -f1 | rev | cat -e
10.1.2.3 $