CLI cmd to show system log

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

CLI cmd to show system log

Not applicable

I'm trying to use the CLI to get a list of SSLVPN logins, but keep getting either "sytnax error at end of input" or "syntax error at AND" errors. what i've attempted so far is variation on:

show log system subtype equal sslvpn object equal "Test SSL-VPN"

I suspect it's something to do with the object name which has a space it in. I've tried single quotes, double quotes, no quotes, URL encoding (%20 for the space), but nothing seems to scratch the ol' Palo Alto itch.

Any help would be greatly apprciated.

1 REPLY 1

L5 Sessionator

Hi,

Since I'm not using SSLVPN on my device, I just help you on CLI input format.

I could filter 'Port__2' ( _ is space) by following format.

Does it help you?

admin@PA-200> show log system query equal "Description contains 'Port  2' "
Time           Severity Subtype Object EventID ID Description
===============================================================================
2012/03/14 20:51:51info     port           link-ch 0  Port  2: Up   1Gb/s-full duplex
2012/03/15 03:17:04info     port           link-ch 0  Port  2: Down 1Gb/s-full duplex
2012/03/15 03:17:06info     port           link-ch 0  Port  2: Up   10Mb/s-full duplex
2012/03/15 03:18:09info     port           link-ch 0  Port  2: Down 10Mb/s-full duplex
2012/03/15 03:18:12info     port           link-ch 0  Port  2: Up   1Gb/s-full duplex
2012/04/10 00:21:55info     port           link-ch 0  Port  2: Up   1Gb/s-full duplex
2012/04/10 23:38:40info     port           link-ch 0  Port  2: Up   1Gb/s-full duplex
2012/04/12 03:19:32info     port           link-ch 0  Port  2: Down 1Gb/s-full duplex
2012/04/12 03:19:34info     port           link-ch 0  Port  2: Up   10Mb/s-full duplex
2012/04/12 03:20:38info     port           link-ch 0  Port  2: Down 10Mb/s-full duplex
2012/04/12 03:20:41info     port           link-ch 0  Port  2: Up   1Gb/s-full duplex
admin@PA-200>

Regards,

  • 18695 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!