A server reports a failed sign-in. What happened, and what does that tell you? Start by separating what the machine recorded from any conclusion you might draw.
Security Logs · Lesson 1
Security Events
Learn to distinguish a security event, the record that describes it, and an alert that calls for review.
Events and Log Records
An event is something that happened, such as a rejected sign-in attempt. A log record is a saved description of an event. A log is a collection of records. The examples in this course use simulated records with consistent field names so you can practice reading them. Real tools label and store their records in different ways.
t=08:55:00Z source=ssh host=web-01 account=alex login=rejected
This record reports a rejected remote sign-in for the account alex. You can read the saved record after the attempt. Later lessons show how timestamps from different sources can be compared.

The LabEx terminal displays the same simulated record from a text file.
Which part of the example is the event itself?
Reading Fields
A field is one piece of information in a record. In these examples, t gives the recorded time, host names the computer where it happened, and source identifies the tool that reported it. The account field names the account in the record. The login field gives the outcome of the sign-in attempt.
You want to know which machine recorded the rejected sign-in. Which value identifies it?
Alerts and Their Rules
An alert draws attention to something that may need review. A monitoring rule can generate an alert after seeing three rejected sign-ins for the same account on the same host within five minutes. That rule groups records by account, host, and time. An alert means the rule matched. A person might simply have mistyped a password several times.
The rule alerts on three failures for alex on web-01. What does the alert support?
Choosing What to Check Next
If the question is whether alex later signed in, look for a sign-in outcome on web-01 after the failures. Check what time period the records cover before drawing a conclusion. A log export, which is a copy of selected records, may end before the period you need.
Your export ends at 09:00. You need to check for a successful sign-in at 09:05. What should you look for?
Lesson complete
You finished Security Events
You can now read a security record and decide what to check after an alert.
Distinguish an event from the line that records it.
Find the account, host, and outcome in a sample record.
Use an alert rule to understand what was observed.
Check that the source and time window answer your question.
Keep your learning progress
Create a free account to save this lesson and continue learning on any device.
Create a free account