TechKnowSurge
NIST 800-53 AU-2 NIST CSF PR.PS-04 CompTIA Security+ 4.4 ISC2 CISSP 7.2 NIST 800-53 AU-8 NIST 800-53 SC-45 NIST NICE K0897 CompTIA SecurityX 4.3
VideoSecurityFree

Logging

Logging captures discrete events across network infrastructure—from firewalls and endpoints to SIEM systems—giving security teams a record of what happened, when, and where. Centralizing those logs through aggregation servers, synchronized timestamps via NTP, and syslog protocols turns raw data into a coherent, investigable timeline.

Complete this video to capture a CTF flag worth 1 point.

About this video

Logging is the process of recording discrete events across an organization's network infrastructure, providing a factual record of what occurred, on which system, and at what time. Unlike polling, which continuously samples metrics such as CPU usage, logging captures specific events—an admin login, a threshold breach, a policy violation—as individual timestamped entries. Every layer of a modern infrastructure generates logs: firewalls, servers, applications, operating systems, endpoints, intrusion detection and prevention systems, EDR platforms, antivirus tools, vulnerability scanners, DLP software, file integrity monitors, and SIEM systems all produce event data continuously. Logging verbosity is configurable on each device, with lower thresholds capturing a high volume of granular events at the cost of greater resource consumption, and higher thresholds limiting output to critical events while reducing storage and processing overhead but sacrificing broader visibility. Managing logs across distributed infrastructure introduces two core operational challenges: centralization and time synchronization. Rather than reviewing each device individually during a security incident, organizations deploy a log aggregation server that ingests, normalizes, and consolidates event data from all sources into a single location—making it possible to reconstruct a coherent sequence of events across the entire environment. Accurate timestamps are essential to that reconstruction; if device clocks are unsynchronized, log entries appear out of order and complicate incident analysis. Network Time Protocol addresses this by establishing a primary time server that all devices reference, keeping clocks—and therefore log sequences—aligned. Syslog is the standard protocol used to transport event data between devices and the central log management server, providing a reliable, widely supported mechanism for log forwarding at scale.

What you'll learn

What's covered

Network Logging

Aligned to

NIST 800-53
AU-2 Event Logging
AU-8 Time Stamps
SC-45 System Time Synchronization
NIST CSF
PR.PS-04 Log records are generated and made available for continuous monitoring.
CompTIA Security+
4.4 Explain security alerting and monitoring concepts and tools.
ISC2 CISSP
7.2 Conduct logging and monitoring activities
NIST NICE
K0897 Knowledge of logging tools and technologies
CompTIA SecurityX
4.3 Given a scenario, analyze the output of log analysis.

Key terms

Log Management
The process of collecting, storing, analyzing, and monitoring log data generated by systems and applications.
Security Information and Event Management
SIEM
A system that aggregates and analyzes security event data from across an organization to detect and respond to threats.
Network Time Protocol
NTP
A protocol that synchronizes the clocks of networked devices to a common reference time source using a hierarchy of time servers called strata, operating over UDP port 123. Accurate time synchronization is critical for security logging, authentication tickets, and correlating events across devices.
Syslog
Syslog is a standard protocol for forwarding log messages from network devices and systems to a centralized log server, forming the foundation of security log collection pipelines and SIEM data ingestion.
Log Aggregation
The process of collecting and centralizing log data from multiple systems and devices into a single location for unified analysis and monitoring.

Topics

Logging Log Aggregation Syslog Network Time Protocol Siem Network Monitoring Networking

Transcript

One of the ways we can collect information on what's happening within our infrastructure is something called logging. Logging allows us to see events that are happening on our network infrastructure.

What logging is

The word logging just means recording events. Something happens, and then it creates a log. Let's just take a look at an example of logging. Let's say we have an application here with a server, and somebody gains admin access to the server, and we want to know when anybody has admin access to the server. What happens is we log an event. That's not something that is just like a stat, like a percentage — it is something that happened. So we can log events.

There is some overlap between logging and polling. We could be polling the CPU usage right here, and what happens is the CPU is going to go up and down, and maybe at some point in time it goes above 80%, and that's our magic marker right there. That's the point in time we want to be notified that we have high CPU usage. If we're polling this, then whatever system is polling this information can notify us when it goes above that. But logging is the idea that this is an event that has happened as well, so now we're going to log this as an event on the server.

Where logging happens

Where is it that logging happens? It really happens on any of our equipment that's out there. These different systems are doing logging all the time:

  • our firewalls
  • our servers, applications, endpoints
  • operating system logs, like access logs, network logs, OS-specific logs
  • our intrusion detection systems or intrusion prevention systems, where we might have some sort of metadata that we're logging
  • antivirus or anti-malware systems
  • endpoint detection and response, or EDR, systems
  • vulnerability scanners
  • DLP software
  • file integrity monitoring software
  • our SIEM systems

So we could be doing logging in a lot of different areas here.

Levels of logging

On each one of those devices there are different levels of logging. We can choose a low level of logging, which means that it will log any low-level events and anything above that, which ends up being a lot of logging. Or we could do something that has a very high setting, where it will only notify us if it's something that's really serious, and then it won't notify you as often. There's a lot less with this — you have less visibility with this, but it also uses less resources. Taking all of these logs and logging everything ends up taking quite a bit more resources, whether it's processing power or the actual volume of logs that we have.

Log ingestion and aggregation

Since all of this equipment is logging, one of the problems that we run into is that if there is a security risk on our network, we now have to visit each one of these pieces of equipment and look at the logs to see what's happening. This could be problematic.

One thing we could do is set up a log management server. Then all of these logs could get reported back to this one location here, and then we have just one area that we need to check, one system that we need to check, to see what's happening across our network and infrastructure. We call this log ingestion.

What these systems also will do is log aggregation. It will take all of these logs and combine them into a more simple log, or do some altering of these logs to make sure it's consistent among them. But a lot of times we just generalize this and say that this is log aggregation, and this is a log aggregation server.

Synchronizing time

We do run into another issue with this. If we are aggregating all of these logs into one location here but the times are off — the timestamp is a part of these logs — then, since we're going to have all the logs together, if the timestamps are off it makes it really hard to see what's happened on the network. Let's say we're researching an attack that's happened and all of our timestamps are off, so things are in a different order. Now it's hard to establish what has happened on our network and what's compromised.

So what we need to do is make sure that all of the time is synchronized on all of our devices. Of course, if we do this manually that can get off over time, so the best way to do this is through Network Time Protocol. We establish a primary time server, and then all of these devices check in with that time server and all of the clocks on all these devices are then synchronized, and therefore the logs are synchronized.

Shipping the logs

The main way that we transfer these event logs is through a syslog server, or a syslog protocol. That's a way that we can transfer these different event logs from one location to another. Although I did throw in here email, and also text messages, as a couple of other ways that we send at least event information out — that would be more of a notification, so it doesn't quite fit this protocol level of shipping these events out.

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →