
Every SIEM (security information and event management) project has to decide how logs will reach the SIEM. One option is an agent: a small program on each machine that reads its logs and sends them. The other is agentless collection: devices send their logs over the network, or the SIEM reads them from a service’s interface, and nothing is installed on the source. Vendors on both sides present their choice as a philosophy. In practice, the right answer depends on the source, and almost every network ends up using both.
This article compares the two methods source by source. It covers what each one collects, what fails quietly without an agent, what agents cost you, and how to decide for each kind of system.
The short answer: use an agent on the servers and computers you control, running Windows, Linux or macOS. An agent reads logs that never leave the machine by default, such as the Windows Security log. It keeps logs when the network is down, and it lets the SIEM act on the machine, for example to block an address or isolate the host. Use agentless collection for everything that cannot run your software. Firewalls, switches, routers and appliances send syslog or NetFlow to a collector, and cloud services are read through their own application programming interfaces (APIs). Agentless is quicker to start. Agents give more detail and fewer gaps.
Choosing a collection method for each source
Ask these two questions about every system you want in the SIEM
What “agent” and “agentless” mean in practice
“Agentless” does not mean nothing is installed anywhere. It means nothing is installed on the source. The logs still need somewhere to land, which is usually a collector on your network or the SIEM server itself.
| Method | How logs travel | Typical sources | Installed on the source? |
|---|---|---|---|
| Agent | A program on the machine reads local logs and sends them to the SIEM over an encrypted connection | Windows, Linux and macOS servers and workstations | Yes |
| Syslog | The device sends text messages over the network to a collector | Firewalls, switches, routers, appliances, hypervisors | No, only a setting |
| Flow records | The device sends NetFlow or IPFIX summaries of its traffic | Routers, firewalls, switches | No, only a setting |
| API pull or stream | The SIEM, or a connector, reads events from the service with a key or token | Cloud platforms, Microsoft 365, endpoint security consoles | No |
| Push to a receiver | The service sends events to an address the SIEM opens, often as a webhook | Code hosting, some security consoles | No |
| Windows Event Forwarding | Windows machines send events to a Windows collector, using a feature built into Windows | Windows fleets where agents are not allowed | No, only Group Policy settings |
Agent vs agentless, side by side
| Agent | Agentless | |
|---|---|---|
| Depth of data | Reads every local log the system writes, including ones that are never sent over the network | Gets only what the device is set to send, often a smaller set |
| Logs during an outage | A good agent stores logs locally and sends them later | Syslog over UDP is lost; TCP and API sources depend on the sender’s own buffer |
| Security of transport | Usually encrypted and authenticated by the agent itself | Plain-text syslog over UDP is common; encryption needs TLS on both ends |
| Response actions | The SIEM can run commands on the machine: block an address, disable an account, isolate the host | No direct action; any response goes through another system |
| Setup effort | Install on every machine, then keep agents updated | Change one setting per device, or create one API key per service |
| Load on the source | Some processor time, memory and disk on each machine | Close to none |
| Coverage of devices | Only systems that can run the agent | Anything that can send syslog or has an API |
| Who changes what | Needs change approval on every server | Network and cloud teams change their own settings |
Neither column wins on every row. That is why the real question is which method to use for which source.
What goes wrong without an agent
Agentless collection is easy to start, and its failures are easy to miss, because logs keep arriving from other sources.
- UDP syslog has no delivery promise. RFC 5426, which defines syslog over UDP, warns that messages can be lost in transit without any notice. A message dropped by a busy network or a restarting collector is gone, and nothing reports it. Use syslog over TLS (RFC 5425) when the device supports it, or at least TCP. Syslog over TCP is widely used, but its RFC (6587) only records common practice and is not a standard; it points to TLS instead.
- Plain-text transport. Ordinary syslog sends readable text. Anyone on the path can read it, and in principle change it. RFC 5425 adds TLS encryption and certificate checks, with port 6514 as the default port. The 2024 joint guide on event logging from the cyber security agencies of Australia, the United States and partner countries asks for TLS 1.3 and cryptographic checks to protect logs in transit and at rest.
- Some logs never leave the machine. Windows keeps its Security log on the machine. The way Microsoft documents for moving events off a Windows machine without extra software is Windows Event Forwarding, which uses Windows Remote Management, not syslog. Without an agent, the choice is Windows Event Forwarding or a third-party forwarder, which is an agent by another name.
- Device-chosen detail. A firewall sends what its logging profile says. If the profile only logs blocked traffic, you will never see the allowed connection that mattered. Check the profile, not just the connection.
- Credentials to guard. API connections need keys or tokens that can read your cloud logs. They need an owner, the smallest set of permissions that works, and a plan to replace them.
- Delay. Cloud services publish audit events some time after they happen. AWS says CloudTrail typically delivers events within an average of about 5 minutes, without a guarantee. For Exchange, SharePoint, OneDrive and Teams, Microsoft says audit events are typically available after 60 to 90 minutes. That is fine for investigation, but it slows detection.
What agents cost you
Agents are not free either, and the costs are mostly in operations.
- Installation everywhere. Each server and workstation needs the agent, which means a deployment tool or a script, plus change approval in many companies.
- Updates. Agents need patches like any other software. An agent that updates itself saves work, but some teams want to control the timing.
- Load. An agent uses processor time, memory and some disk. It is small on modern hardware, but worth testing on busy database servers and old machines.
- Systems that cannot take one. Appliances, network devices, many hypervisors and some older or vendor-managed systems do not allow third-party software, or lose vendor support if you install it.
- Trust. An agent that can run response commands holds real power on the machine. Treat its connection key like a password.
The pattern most networks end up with
The usual design is mixed: agents on the systems you own, one or more collectors for network devices, and API connections for cloud services.
Three paths into one SIEM
A typical mixed design. Each path suits a different kind of source.
Putting the collector close to the devices matters. Syslog over UDP is safest on a short, quiet network path. The collector can then send logs on to the SIEM over an encrypted connection.
The shared fields at the end are what make a mixed design work. Our guide to SIEM log normalization explains how logs from agents, syslog and APIs end up comparable.
Windows: agent or Windows Event Forwarding?
Windows has its own agentless option. Windows Event Forwarding, built into Windows, lets machines send selected events to a Windows Event Collector server. By default the events land in that server’s Forwarded Events log. It uses Windows Remote Management, whose default ports are 5985 for HTTP and 5986 for HTTPS, and the sending machines are set up through Group Policy.
It works well where agents are not allowed. The trade-offs are real, though. You have to write and maintain the subscription queries that pick which events to send. The collector becomes a single point of failure. And you still need something that reads the collector’s log and sends it on to the SIEM. That something is usually an agent on the collector, which turns the design into “one agent for many machines”. You also lose the option to run response actions on each machine.
Questions to ask a SIEM vendor about collection
- Which operating systems and versions does the agent support, and does it update itself?
- What does the agent do when the SIEM is unreachable? How much does it store, and what is dropped first?
- Does the agent turn on the Windows audit settings it needs, or must you do it with Group Policy?
- Which syslog transports are supported: UDP, TCP, TLS?
- Does the collector store logs on disk when the SIEM is unreachable?
- Which cloud services are read through an API, with what permissions, and how often?
- Which response actions need an agent, and can any run on agentless devices?
- Is pricing per agent, per device or per gigabyte of logs? Agentless sources can be cheap to connect but expensive to store.
How UTMStack collects logs
UTMStack uses all three paths. These details come from the version 12 source code, as released in 12.0.3.
Agents for Windows, Linux and macOS. The Windows and Linux agents are part of the free Community edition; the macOS agent is part of a paid subscription.
- The Windows agent reads 21 event log channels. Among them are Security, System, Application, PowerShell, Windows Defender, Windows Firewall, remote desktop, WinRM, NTLM, Group Policy, Sysmon (when Sysmon is installed) and Forwarded Events, so a Windows Event Forwarding collector with one agent works too. It saves its place in each channel every two seconds, so after a restart it carries on where it stopped.
- On its first start, and again after an update that changes its audit settings, the Windows agent turns on 11 audit policy subcategories for success and failure. Among them are process creation, logon, account lockout, user account management, security group management and audit policy change. It also adds the command line to process creation events and turns on PowerShell script block and module logging. It only turns settings on, never off. If a domain Group Policy also manages audit policy, check that it turns on the same settings.
- The Linux agent reads the systemd journal and the Linux audit log (auditd).
- Every agent writes each log to a small local database before sending it, and retries unsent logs every 15 seconds. The database is capped at 20 MB by default. Above that, the agent removes the oldest logs that were already sent. It only removes unsent logs when the file passes five times the cap, 100 MB by default. The
change-retentioncommand sets a different cap. - Agents connect out to the server over port 443 with TLS encryption.
What happens when the SIEM server is unreachable
How each UTMStack collection path behaves during an outage
A collector for devices. The UTMStack collector is a service you install on a Linux machine that your devices can reach. It opens a port for each product, so each stream goes to the right parser: for example 7005 for FortiGate, 7006 for Palo Alto Networks and 7014 for generic syslog, over UDP, TCP or TLS. It also receives NetFlow v5, v9 and IPFIX on UDP port 2055, reads nginx and PostgreSQL log files on its own machine, and accepts GitHub webhooks over HTTPS with a signature check. One detail to plan for: Cisco ASA, Firepower, Meraki and switches share the same default ports (514 for UDP and 1470 for TCP), so if you run two of them, move one to another port. The full list is on the integrations page, and the ESXi and MikroTik guides walk through two setups.
API connections for cloud services. These run on the UTMStack server and need nothing installed: Amazon Web Services through CloudWatch Logs, Azure through Event Hubs, Google Cloud through Pub/Sub, Microsoft 365 through Microsoft’s audit interfaces, CrowdStrike Falcon through its event streams and Sophos Central through its SIEM interface. Bitdefender GravityZone sends its events to a receiver on the server instead.
Response actions need an agent. UTMStack ships 94 response flows: 52 for Windows, 29 for Linux and 13 for macOS. All of them run as commands through an agent on the machine: block an address, disable an account, kill a process, isolate the host. Every flow is off until you turn it on, and most need you to pick the alert that starts them. None of the shipped flows acts on a firewall or a cloud account. To act on a device without an agent, you build your own flow, for example one that calls the device’s web interface or runs a command from an agent that can reach it. See automated response.
The limits, plainly. The collector runs on 64-bit Linux only and keeps no copy on disk. It also does not wait for the server to confirm each log, so a few logs in transit can be lost when the connection breaks. Use TCP or TLS where devices support it, and keep the collector close to them. On Windows, each channel can hold 256 events waiting to be stored; in a very heavy burst the agent drops events beyond that and writes an error to its own log. There is no alert yet when a source stops sending. The data sources page shows a source as live if its last log is under 15 minutes old, idle up to 24 hours, and offline after that, so check it as part of a daily routine.
Agents and agentless sources cost the same: UTMStack is priced per device, never by log volume. See pricing or ask for a quote.
Frequently asked questions
What is agentless log collection in a SIEM? It is any way of getting logs into the SIEM without installing software on the source. Devices send syslog or flow records to a collector, and cloud services are read through their APIs. Something still receives the logs, but nothing runs on the source.
Is agent-based or agentless SIEM better? Neither is better everywhere. Agents are better on servers and workstations you control, because they collect more and keep logs during outages. Agentless is the only option for network devices and cloud services. Most networks use both.
Can a SIEM collect Windows logs without an agent? Yes, with Windows Event Forwarding, which is built into Windows and sends events to a Windows Event Collector server. You still need a way to move events from that collector into the SIEM, which is usually an agent on the collector.
Does an agent slow down servers? A well-built agent uses little processor time and memory on modern hardware. Test it on your busiest servers during a trial, and check how much disk its local store can use.
Is syslog secure enough for a SIEM? Plain syslog over UDP is neither encrypted nor reliable. Use syslog over TLS where devices support it, or keep the collector on a short, protected network path next to the devices.
What is the difference between agentless and API-based collection? API-based collection is one kind of agentless collection. It is the usual method for cloud and software-as-a-service products, where you cannot install anything and the vendor offers an interface to read audit events.
For which sources to connect first, see what logs should be sent to a SIEM.
Sources
- RFC 5426, Transmission of Syslog Messages over UDP
- RFC 6587, Transmission of Syslog Messages over TCP
- RFC 5425, Transport Layer Security (TLS) Transport Mapping for Syslog
- RFC 7011, IP Flow Information Export (IPFIX)
- Microsoft Learn: Use Windows Event Forwarding to help with intrusion detection
- Microsoft Learn: Installation and configuration for Windows Remote Management
- AWS: How CloudTrail works
- Microsoft Learn: Troubleshooting the Office 365 Management Activity API
- Best practices for event logging and threat detection, joint guide by Australian, US and partner agencies (August 2024)
- UTMStack agent and collector source code on GitHub


