Linux also works with events, of course. However, unlike the Windows event log, Linux systems usually use syslog to log messages. Syslog is documented in RFC 5424 and is a well-structured, easy to automate protocol. The great thing with PowerShell is that we can get structured data into objects with very little work. And, of course, we only do the work once and then offload the functionality in a module.
Working with the system logs in Linux
Getting ready
Install and start PowerShell Core on a Linux system.
How to do it...
Please perform the following steps:
- First things...