API method to pull no. of connected mobile users

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

API method to pull no. of connected mobile users

L1 Bithead

What is the method to pull # of connected users from Prisma Access - Panorama Managed. Thanks,

1 REPLY 1

L4 Transporter

Using Panorama : >>> show global-protect-gateway current-user

 And if you are using PA Prisma Access Insights in SCM you can also try 

Prisma Access Insights (GUI)

If you want to check this via the Prisma Access web UI:

  1. Go to Prisma Access Insights.
  2. Navigate to Monitor > Remote Users.
  3. Look at the Active Users count.

and API method

 

API Endpoint:

GET https://<panorama>/restapi/v10.2/monitor/globalprotect/users

Headers:

Authorization: ApiKey <your_api_key>

Example Response:

{
"result": {
"entry": [
{
"username": "user1",
"public-ip": "203.0.113.10",
"status": "Connected",
"location": "US",
"login-time": "2024-03-09T10:00:00Z"
},
{
"username": "user2",
"public-ip": "203.0.113.11",
"status": "Connected",
"location": "EU",
"login-time": "2024-03-09T10:05:00Z"
}
]
}
}

Best Regards,
Suresh
  • 206 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!