User Tools

Site Tools


ubuntu:logging:monitor_remote_logging_on_the_rsyslog_server

Ubuntu - Logging - Monitor Remote Logging on the Rsyslog Server

Verify if the rsyslog is actually receiving and logging messages from the client, under /var/log, in the form hostname/programname.log.

Run a ls command to long listing of the parent logs directory and check if there is a directory for example called ip-172.31.21.58 (or whatever your client machine’s hostname is).

$ ls -l /var/log/

If the directory exists, check the log files inside it, by running.

sudo ls -l /var/log/ip-172-31-21-58/
ubuntu/logging/monitor_remote_logging_on_the_rsyslog_server.txt · Last modified: 2020/07/15 10:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki