How to Configure CA NIM-SM to Forward Logs to QRadar
search cancel

How to Configure CA NIM-SM to Forward Logs to QRadar

book

Article ID: 437103

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

There is a requirement to send NIM-SM application logs to an external SIEM tool, such as IBM Security QRadar, for threat detection and monitoring. By default, NIM-SM stores logs locally and does not forward them to external Syslog collectors.

Environment

  • CA Normalized Integration Management for Service Management (NIM-SM)
  • Any SIEM tool supporting Syslog (e.g., IBM QRadar)

Cause

NIM-SM uses the Log4j2 framework for internal logging. Forwarding logs to a remote server requires the addition of a specific "Syslog Appender" within the application's configuration file.

Resolution

To enable log forwarding, you must modify the log4j2.xml file within the NIM-SM deployment.

  1. Locate the Configuration File: Navigate to the following directory in your NIM-SM installation (usually within the web server's webapps directory): ca-nim-sm/WEB-INF/config/log4j2.xml

  2. Add a Syslog Appender: Edit the log4j2.xml file to include a new Appender entry. Specify the QRadar (or SIEM) server IP address and the destination port (default is 514).

    Example Configuration Snippet:

    xml
     
    <Syslog name="QRadarAppender" format="RFC5424" host="[QRADAR_IP_ADDRESS]" port="514" protocol="UDP" facility="LOCAL0">  <PatternLayout pattern="${sys:rootPath}/WEB-INF/logs [%d{dd/MM/yy HH:mm:ss:SSS z}] [%t] %5p %c{2}: %m%n" charset="UTF-8"/></Syslog>
  3. Update the Loggers Section: Ensure that the <Loggers> section of the XML file references the new QRadarAppender so that events are actively sent.

    xml
     
    <Root level="info">  <AppenderRef ref="QRadarAppender"/></Root>
  4. Restart Services: Restart the web server (e.g., Apache Tomcat) where NIM-SM is running to apply the changes.

  5. Verification: Check the "Log Activity" tab in QRadar to confirm that logs from the NIM-SM host are being received.

Additional Information

  • Externalization: Note that if the ca-nim-sm.war file is redeployed or upgraded, manual changes to the WEB-INF/config directory may be overwritten. It is recommended to back up your modified log4j2.xml before maintenance.
  • Firewall: Ensure that traffic is allowed from the NIM-SM host to the QRadar Event Collector on the configured port (UDP/TCP 514).