export users global protect "user name" and "Login Time"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

export users global protect "user name" and "Login Time"

L0 Member

I'm trying to export a list of users but I need the data username login and logout can I use more than one parameter with the command?

show global-protect-gateway current-user | match "User Name"

1 accepted solution

Accepted Solutions

L6 Presenter

Yes you can. The PaloAlto regex is a bit non-standard and non-complete, so it gets a bit of getting used to. You need to escape your OR operator:

show global-protect-gateway current-user | match "User Name\|Login Time"

 

https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000PLkSCAW

 

View solution in original post

2 REPLIES 2

L6 Presenter

Yes you can. The PaloAlto regex is a bit non-standard and non-complete, so it gets a bit of getting used to. You need to escape your OR operator:

show global-protect-gateway current-user | match "User Name\|Login Time"

 

https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000PLkSCAW

 

this is exactly what i needed thanks

  • 1 accepted solution
  • 1882 Views
  • 2 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!