ArubaOS and Controllers

Reply
Occasional Contributor II
Posts: 28
Registered: ‎10-08-2009

Output Modifiers

I am trying to use the command "show log all" and display only the login attempts. Can I use the Output modifiers to achieve this? If there is a better way great, but I would still like to know what an Output Modifier is?

Thanks in advance
Mark
Aruba Employee
Posts: 455
Registered: ‎04-02-2007

Re: Output Modifiers

An output modifier lets you filter the text that is returned. You would use:



The word should be something in the log string you are looking for. An example would be looking at my admin log in, such as:

(aruba) #show log all | include logged
Feb 9 11:34:15 fpcli: USER: admin has logged in from 172.16.0.251.
Feb 9 11:34:36 fpcli: USER: admin connected from 172.16.0.251 has logged out.
Feb 10 20:35:40 fpcli: USER: admin has logged in from 172.16.0.251.
Feb 10 20:44:52 fpcli: USER: admin connected from 172.16.0.251 has logged out.
Feb 17 09:12:29 fpcli: USER: admin has logged in from 172.16.0.251.
Feb 17 09:13:10 fpcli: USER: admin connected from 172.16.0.251 has logged out.
Jan 15 12:26:03 cli: USER: admin has logged in from 172.16.0.253.
Jan 15 12:29:18 fpcli: USER: admin connected from 172.16.0.253 has logged out.
Jan 26 09:29:25 fpcli: USER: admin has logged in from 172.16.0.253.
Jan 26 09:46:03 fpcli: USER: admin connected from 172.16.0.253 has logged out.
Jan 29 13:25:48 fpcli: USER: admin has logged in from 172.16.0.253.
Jan 29 13:31:51 fpcli: USER: admin has logged in from 172.16.0.253.
Jan 29 13:42:24 fpcli: USER: admin connected from 172.16.0.253 has logged out.
Jan 29 13:47:27 fpcli: USER: admin connected from 172.16.0.253 has logged out.
Mar 16 09:09:40 fpcli: USER: admin has logged in from 172.16.0.248.


Hope that helps,
-awl
Andy Logan, ACDX
Director, Strategic Account Solutions
Aruba Networks
Occasional Contributor II
Posts: 28
Registered: ‎10-08-2009

Re: Output Modifiers

Thanks
Search Airheads
Showing results for 
Search instead for 
Did you mean: