Arista
Background
Arista switch Analysis App automatically Collects - Reads - Parses - Analyzes - Reports all Arista switches generated log data of the server and presents a comprehensive automatic predefined set of Reports, Dashboards and Widgets. Once you Setup and configure the Arista App, you will be redirected to the dashboards where you will have graphs about: errors occurred, users behavior, interfaces utilization, logins, ssh connections and much more. You later use XpoLog built in Analytics features to zero in on errors and take actions to improve your system's uptime. Arista switches system logs data can be viewed, filtered and searched via the main XpoLog console.
Steps
Add Log Data In XpoLog, When adding a log to XpoLog you can now select the Log Type (logtype) for Arista the are the following logtypes:
switch
arista
i. select both switch and arista as the log types of your log
Once all required information is set click next and edit the log pattern, this step is crucial to the accuracy and deployment of the Arista App.Â
The pattern should be as follows:Â {date:Date,MMM dd HH:mm:ss} {text:Device Name,ftype=devicename} {text:Category,ftype=category}: %{text:Message Type,ftype=messagetype;,}:{block,end,emptiness=true} {regexp:Username,ftype=username;refName=Message,([U|u]ser\s'|[U|u]ser:\s|[U|u]ser:|[U|u]ser\s|by\s)[XPLG_PARAM([^'\u005D\s]+)].*}{regexp:Sourceip,ftype=sourceip;refName=Message,(Source:\s|from\s)[XPLG_PARAM(\d+\.\d+\.\d+\.\d+)]}{regexp:Status,ftype=status;refName=Message,(\sSucceeded|\sclosed|\sup|\sdown|\senabled|\sfailed|\sSuccess|\ssuspended).*}{regexp:Interface,ftype=interface;refName=Message,Interface\s([^,\s]+).*}{string:Message,ftype=message}{eoe}
In XpoLog, the log will be displayed as follows: