Show contents of current master log file journalctl --no-hostname --boot Show contents of all master log files sudo bash -c 'eval $(lesspipe); less $_vyatta_less_options --prompt=".logm, file %i of %m., page %dt of %D" -- `printf "%s\n" /var/log/messages* | sort -nr`' Show listing of authorization attempts journalctl --no-hostname --boot --quiet SYSLOG_FACILITY=10 SYSLOG_FACILITY=4 Show log for Cluster cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e heartbeat -e cl_status -e mach_down -e ha_log Show log for Conntrack-sync journalctl --no-hostname --boot --unit conntrackd.service Show log for Dynamic Host Control Protocol (DHCP) Show log for DHCP server journalctl --no-hostname --boot --unit isc-dhcp-server.service Show DHCP client logs journalctl --no-hostname --boot --unit "dhclient@*.service" Show DHCP client log on specific interface journalctl --no-hostname --boot --unit "dhclient@$6.service" Show log for Dynamic Host Control Protocol IPv6 (DHCPv6) Show log for DHCPv6 server journalctl --no-hostname --boot --unit isc-dhcp-server6.service Show DHCPv6 client logs journalctl --no-hostname --boot --unit "dhcp6c@*.service" Show DHCPv6 client log on specific interface journalctl --no-hostname --boot --unit "dhcp6c@$6.service" Show log for Firewall Show log for a specified firewall (IPv6) firewall ipv6-name cat $(printf "%s\n" /var/log/messages* | sort -nr ) | egrep "\[$5-([0-9]+|default)-[ADR]\]" Show log for a rule in the specified firewall firewall ipv6-name ${COMP_WORDS[4]} rule cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e "\[$5-$7-[ADR]\]" Show log for a specified firewall (IPv4) firewall name cat $(printf "%s\n" /var/log/messages* | sort -nr ) | egrep "\[$5-([0-9]+|default)-[ADR]\]" Show log for a rule in the specified firewall firewall name ${COMP_WORDS[4]} rule cat $(printf "%s\n" /var/log/messages* | sort -nr) | egrep "\[$5-$7-[ADR]\]" Show log for HTTPs journalctl --no-hostname --boot --unit nginx.service Show contents of master log file for image less $_vyatta_less_options --prompt=".log, page %dt of %D" -- /lib/live/mount/persistence/boot/$4/rw/var/log/messages Show contents of all master log files for image eval $(lesspipe); less $_vyatta_less_options --prompt=".log?m, file %i of %m., page %dt of %D" -- `printf "%s\n" /lib/live/mount/persistence/boot/$4/rw/var/log/messages* | sort -nr` Show listing of authorization attempts for image less $_vyatta_less_options --prompt=".log, page %dt of %D" -- /lib/live/mount/persistence/boot/$4/rw/var/log/auth.log Show last changes to messages <NUMBER> tail -n "$6" /lib/live/mount/persistence/boot/$4/rw/var/log/messages | ${VYATTA_PAGER:-cat} Show log for IPoE server journalctl --no-hostname --boot --unit accel-ppp@ipoe.service Show messages in kernel ring buffer sudo dmesg Show log for LLDP journalctl --no-hostname --boot --unit lldpd.service Show log for Network Address Translation (NAT) egrep -i "kernel:.*\[NAT-[A-Z]{3,}-[0-9]+(-MASQ)?\]" $(find /var/log -maxdepth 1 -type f -name messages\* | sort -t. -k2nr) Show log for OpenVPN journalctl --no-hostname --boot --unit openvpn@*.service Show OpenVPN log on specific interface interfaces openvpn journalctl --no-hostname --boot --unit openvpn@$5.service Show log for Simple Network Monitoring Protocol (SNMP) journalctl --no-hostname --boot --unit snmpd.service Show last n changes to messages <NUMBER> tail -n "$4" /var/log/messages | ${VYATTA_PAGER:-cat} Show last 10 lines of /var/log/messages file tail -n 10 /var/log/messages Show log for Virtual Private Network (VPN) Show log for ALL cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e charon -e accel -e pptpd -e ppp Show log for IPSec cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e charon Show log for L2TP cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e remote-access-aaa-win -e remote-access-zzz-mac -e accel-l2tp -e ppp Show log for PPTP journalctl --no-hostname --boot --unit accel-ppp@pptp.service Show log for SSTP journalctl --no-hostname --boot --unit accel-ppp@sstp.service Show log for Virtual Router Redundancy Protocol (VRRP) journalctl --no-hostname --boot --unit keepalived.service Show log for Webproxy journalctl --no-hostname --boot --unit squid.service