ESXi syslog packets departing host but failing to reach Splunk due to log level or SSL constraints
book
Article ID: 448245
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
- ESXi hosts are configured with a remote
logHost (e.g., Splunk). pktcap-uw on the ESXi host confirms syslog packets are exiting the vmnic uplink.- Logs do not appear in the Splunk indexer or receiver.
- The
.vmsyslogd.err file may contain SSL handshake or connection reset errors.
Environment
- VMware ESXi 7.x
- VMware ESXi 8.x
- Remote Syslog Collector (Splunk)
Cause
- Log Level Mismatch: The ESXi
logLevel is set to error, preventing info or verbose logs from being transmitted even if connectivity is healthy. - SSL/TLS Trust: If using port 6514/TCP, the ESXi host may not trust the Splunk server's certificate.
- Network MTU: Large log packets may be dropped by the physical network if MTU is inconsistent between the host and the collector.
Resolution
- Verify the current syslog configuration:
esxcli system syslog config get - Ensure the log level is set to
info to capture standard operational logs: esxcli system syslog config set --log-level=info - Reload the syslog service to apply changes:
esxcli system syslog reload - Test connectivity by injecting a manual log mark:
esxcli system syslog mark --message="#### Connectivity Test" - If using secure syslog, check
/var/log/.vmsyslogd.err for certificate errors. - If the issue persists and a defect is suspected, subscribe to this article for updates on fix status.
Feedback
thumb_up
Yes
thumb_down
No