Application Delivery Management
Application Modernization & Connectivity
CyberRes
IT Operations Management
Introduction:
This document explains how to generate Access manager simulated events. With help of java scripts sending simulated Access manager events to Analytics server using syslog. So, you can trigger 1000 logins to analytics server by default. This will only mimic the following events,
You can refer the events code Access manager Audit events and data
Pre-requisites:
Rsyslog Configuration:
Once rsyslog packages installed, user has to set analytics server as syslog target.
RHEL7: /etc/rsyslog.conf
OpenSuse: /etc/rsyslog.d/remote.conf
$template ForwardFormat,"<%PRI%>%TIMESTAMP:::date-rfc3164% %HOSTNAME% %syslogtag:1:32%%msg:::sp-if-no-1st-sp%%msg%\n"
local0.* @@<Analytics server IP Address>:1468;ForwardFormat
Analytics server IP Address - you have to replace with the Analytics server IP address of your environment
service rsyslog restart or systemctl restart rsyslog.service
service rsyslog status or systemctl status rsyslog.service
How to run the script?
By default, this script will do 1000 logins and runtime is 1 min (60 sec). This value is parameterized. If you want to change default settings,
mvn clean install -Peventgen
Console Success Message:
Script will populate the data only in the below graphs,
Now you can able to see the triggered events in new analytics server https://<Analytics server IP address >:8445/amdashboard/login
Analytics server IP Address - you have to replace with the Analytics server IP address of your environment
If you want to see other events/graphs, then refer Event generation script for Access Manager Analytics Server