Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Linux log files are stored in plain-text and can be found in the /var/log directory

Essential Linux Log Files:

/var/log/syslog or /var/log/messages - stores Stores all activity data across the global system. Activity for Redhat-based systems, such as CentOS or Rhel, are stored in messages, while Ubuntu and other Debian-based systems are stored in Syslog syslog.

/var/log/auth.log or /var/log/secure - Stores authentication logs, including both successful and failed logins and authentication methods.   Debian/Ubuntu information is stored in /var/log/auth.log, while Redhat/CentrOS is stored in /var/log/secure.

...