Writing audit log data to a syslog target
You can write audit log data to a syslog target, as shown in the following example.
To configure a syslog log target:
- Start the IBM® MQ Appliance web UI and click the Administration
icon
.
- Select .
- Click New.
- Specify a name for the log target, for example, "Logstash_target".
- In the General Configuration section, complete the following steps:
- Specify a Target Type of Syslog to send log events over UDP, or select Syslog-tcp to send log events over TCP.
- Select the user syslog facility.
- In the Source Configuration section, complete the following steps:
- Specify the IP address of the interface over which the syslog events are transmitted to the remote recipient.
- Specify a Local Identifier to help you identify log entries sent to syslog. For example, you could specify the system name of the appliance.
- In the Destination Configuration section, specify the IP address of the target syslog server, and optionally specify the port number (if you do not specify a port number, the default UDP port 514 or the default TCP port 25 is used).
- Scroll down and open the Event Subscriptions section and complete the
following steps:
- Click Add.
- Select an Event Category of audit.
- Click Apply, and when the window closes, click Save changes.