Tech Tip: Generating syslog traffic for CA UIM Log Analytics

Document created by NestorFalcon Employee on Mar 21, 2017Last modified by NestorFalcon Employee on Mar 30, 2017
Version 2Show Document
  • View in full screen mode

The attached script is a linux syslog message generator that can be useful to generate syslog events and forward them to the Log Analytics platform.
Log Analytics for CA App Experience Analytics and CA Unified Infrastructure Management (CA UIM) is a new feature in CA UIM 8.5.1 that streamlines the log analysis process and helps you troubleshoot faster.

 

There are some config parameters in the script such as:

Destination IP (host where Log Analytics is installed)

Sleep secs (How long to wait in between sending messages)

Count (How many message to send at a time)

The script makes use of netcat command to send the syslog messages via UDP so rsyslog.conf file in the target server should have these lines uncommented:
# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514

 

 

 

This tool can help us to generate volume data in our Log Analytics Platform as shown below:

 

 

HTH,

Nestor

4 people found this helpful

Attachments

Outcomes