03-04-2020 03:25 PM - edited 07-05-2021 11:49 AM
I`d like to creat a CMX report with how ofen a user log on the system. I want to know how much time a certain user is login on the system. The history of the users logged on the system.
Solved! Go to Solution.
03-05-2020 08:54 AM
I see in CMX starting version 10.5 that you can enable audit logging and it can be sent to a syslog server.
You can enable remote logging of system events, and specify which syslog events you want to log and view.
Step 1 | Connect to CMX via SSH. | ||||||||
Step 2 | Enter the cmxctl config audit settings command. | ||||||||
Step 3 | Respond to the following prompts. Enter selects the prompt default, shown in [brackets]. PromptAction
A confirmation message displays. Remote Audit Logging = Enabled | ||||||||
Step 4 | Select the events you want CMX to log. Yes logs all events. No prompts you to select the event types you want to log, and confirms the update. Show all logs [yes/no] [yes]: no Enter day [today(1)/yesterday(2)/last week(3)/last month(4)/all(5)] [5]: Enter event type [MGMT_EVENT(1)/CONN_EVENT(2)/AUTH_EVENT(3)/CONF_EVENT(4)/ALL(5) [5]: Enter identity [root(1)/admin(2)/all(3)] [3]: Enter status [success(1)/failure(2)/all(3) [3]: Settings saved. |
03-05-2020 08:54 AM
I see in CMX starting version 10.5 that you can enable audit logging and it can be sent to a syslog server.
You can enable remote logging of system events, and specify which syslog events you want to log and view.
Step 1 | Connect to CMX via SSH. | ||||||||
Step 2 | Enter the cmxctl config audit settings command. | ||||||||
Step 3 | Respond to the following prompts. Enter selects the prompt default, shown in [brackets]. PromptAction
A confirmation message displays. Remote Audit Logging = Enabled | ||||||||
Step 4 | Select the events you want CMX to log. Yes logs all events. No prompts you to select the event types you want to log, and confirms the update. Show all logs [yes/no] [yes]: no Enter day [today(1)/yesterday(2)/last week(3)/last month(4)/all(5)] [5]: Enter event type [MGMT_EVENT(1)/CONN_EVENT(2)/AUTH_EVENT(3)/CONF_EVENT(4)/ALL(5) [5]: Enter identity [root(1)/admin(2)/all(3)] [3]: Enter status [success(1)/failure(2)/all(3) [3]: Settings saved. |
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide