Editing Logs (Linux)
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
Standard logs: | Standard logs: | ||
− | * Debian/Ubuntu: <code>/var/log/ | + | * Debian/Ubuntu: <code>/var/log/syslog</code> |
* RHEL/Fedora: <code>/var/log/message</code> | * RHEL/Fedora: <code>/var/log/message</code> | ||
Line 15: | Line 15: | ||
Misc: | Misc: | ||
* [[SUSE]]: <code>/var/log/warn.log</code> | * [[SUSE]]: <code>/var/log/warn.log</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 38: | Line 27: | ||
== [[Docker]] == | == [[Docker]] == | ||
− | + | <code>[[docker logs]]</code> command show docker logs. | |
See also https://stackoverflow.com/questions/30969435/where-is-the-docker-daemon-log/30970134#30970134 for further information about docker logs. | See also https://stackoverflow.com/questions/30969435/where-is-the-docker-daemon-log/30970134#30970134 for further information about docker logs. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | * | + | * [[tail]], [[mtail]] |
− | * | + | * [[journald]], [[Linux Administration/System Services/System Logging/Journalctl|Journalctl]] |
* <code>[[Linux Administration/System Services/System Logging/logger|logger]]</code> and <code>[[systemd-cat]]</code> | * <code>[[Linux Administration/System Services/System Logging/logger|logger]]</code> and <code>[[systemd-cat]]</code> | ||
* [[auditd]]: https://linux.die.net/man/8/auditd | * [[auditd]]: https://linux.die.net/man/8/auditd | ||
* [[acct]] package | * [[acct]] package | ||
− | * | + | * [[AWS Cloudtrail]] |
* [[Netflow]] for network logging | * [[Netflow]] for network logging | ||
* Message Brokers for routing messages: [[NSQ]], [[RabbitMQ]], [[Apache Kafka]], [[AWS Kinesis]] and [[NATS Messaging]] | * Message Brokers for routing messages: [[NSQ]], [[RabbitMQ]], [[Apache Kafka]], [[AWS Kinesis]] and [[NATS Messaging]] | ||
* [[fluentd]] | * [[fluentd]] | ||
* [[logstash]] and [[filebeat]] products from Elastic | * [[logstash]] and [[filebeat]] products from Elastic | ||
− | * | + | * [[Logwatch]] |
− | |||
[[Category:Linux]] | [[Category:Linux]] |
Advertising: