QRadar & SIEM

How to Add a Log Source in QRadar: Syslog, Windows and Troubleshooting

🇹🇷 Bu yazıyı Türkçe oku

In QRadar, a log source is the definition of every device or application that sends events to QRadar. If a firewall, Windows server or cloud service is not defined correctly, its logs are either not processed at all or end up as “Unknown” events that correlation rules cannot use. This guide covers the core concepts behind log sources, step-by-step configuration for Syslog and Windows sources, and how to fix the most common problems.

Core Concepts: DSM, Protocol and Log Source Identifier

ConceptWhat it means
DSM (Device Support Module)The module that parses a specific product’s log format and maps it to QRadar events (QIDs), e.g. Cisco ASA or Microsoft Windows Security Event Log.
ProtocolHow logs reach QRadar: Syslog (push), or pull protocols such as JDBC, REST API, MSRPC or Amazon AWS S3 REST API.
Log Source IdentifierThe value that decides which log source an incoming log belongs to. For Syslog this is usually the device’s IP address or hostname.
Log Source TypeThe source type that corresponds to the selected DSM.
Event CollectorThe component that receives and parses logs. In distributed deployments the log source must be assigned to the correct collector.

When Is Auto Discovery Enough?

QRadar can automatically recognize Syslog events that match a supported DSM and create the log source for you. This is fast, but not always reliable:

  • Some products are not recognized until they have sent enough events.
  • Products with similar formats can be matched to the wrong DSM.
  • For sources that should be identified by IP rather than hostname, the identifier can be created incorrectly.

For critical sources (firewalls, domain controllers, proxies, EDR) it is safer to create the log source manually and validate it.

Step by Step: Adding a Syslog Log Source

  1. Configure the syslog destination on the device: send logs to the IP address of the QRadar Event Collector, on UDP or TCP port 514 by default. Prefer TCP or TLS where possible.
  2. Open the Log Source Management app in QRadar: go to Log Sources from the Admin tab.
  3. Create a new log source: choose New Log Source → Single Log Source.
  4. Select the log source type: find your product in the list (e.g. Palo Alto PA Series, Fortinet FortiGate).
  5. Select the protocol: Syslog.
  6. Enter the Log Source Identifier: the IP address the device sends from, or the hostname in the syslog header.
  7. Select the Event Collector: the collector the device actually sends logs to.
  8. Save and deploy: run Deploy Changes if required.

Confirming That Logs Really Arrive

Creating a log source does not mean the logs are being processed correctly. Run these checks:

  1. Network-level check: confirm packets reach the Event Collector:
    tcpdump -nn -i any port 514 and host <device_ip>
  2. Filter in Log Activity: list the last 15 minutes by log source name.
  3. Check the event names: if events show as “Unknown” or “Stored”, parsing has failed.
  4. Compare the fields: verify that the source IP, destination IP, username and timestamp in the payload land in the right fields.
  5. Check the time zone: a clock difference between the device and QRadar makes events appear at the wrong time.

Collecting Logs from Windows Servers

Windows event logs are not sent over Syslog natively. The two most common methods are:

MethodHow it worksWhen to use it
WinCollect (agent)An agent installed on the server reads the event logs and forwards them to QRadar. It can collect locally or remotely.Many servers; reliable, centrally managed collection
MSRPC protocol (agentless)QRadar connects to Windows with an authorized account and pulls events remotely.Servers where you cannot install an agent, or a small number of servers

Whichever method you choose, the right audit policies (Advanced Audit Policy) must be enabled on Windows. If logon events (4624, 4625) and account changes (4720, 4728, 4732) are not audited, they will never reach QRadar.

Common Problems and Fixes

SymptomLikely causeFix
No logs at allFirewall rule, wrong destination IP/portCheck for packets with tcpdump and verify the network path
Logs land in the “SIM Generic” sourceLog Source Identifier does not matchCompare the hostname/IP in the syslog header with the identifier
Events show as “Unknown”Wrong DSM, or the log format changedCheck the DSM and the product firmware version; install DSM updates
Events show as “Stored”The DSM recognizes the log but has no mappingCreate a custom mapping with the DSM Editor
Events appear at the wrong timeTime zone or NTP problemFix NTP on the device and the log source time zone setting
Log source in “Error” statusPermission or connection error on a pull protocolTest account permissions, certificates and connectivity

Custom Parsing with the DSM Editor

If there is no ready-made DSM for your product, or some fields are not parsed, use the DSM Editor. You define fields on a sample payload with regex or a JSON path and map events to QIDs. The key point is to test a pattern written against one sample with several payloads, so you know it works for other event types too.

Acceptance Checklist for a New Log Source

  • Are all expected event types arriving (successful/failed logins, configuration changes, blocked connections)?
  • Are the source IP, destination IP, user and time fields correct?
  • Is the share of “Unknown” and “Stored” events acceptable?
  • Does the source’s EPS fit your license capacity?
  • Has the source been added to the right log source group? (Rules and reports work on groups.)
  • Is there a check that alerts you when the source goes silent?

Frequently Asked Questions

Which port does QRadar listen on?

The default Syslog port is 514 (UDP and TCP). A different port can be configured for TLS Syslog. Make sure the port you use is open along the network path to the Event Collector.

How much EPS does a log source use?

Each source consumes as much EPS as the events it generates. You can see the volume per source with a count grouped by log source in Log Activity, or with an AQL query. See QRadar AQL query examples for details.

How do I add an unsupported product to QRadar?

Select “Universal DSM” as the log source type and write parsing rules with the DSM Editor. Also check IBM App Exchange for a ready-made extension for your product.

Sources

Related Guides

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button