How to findout the individual total number of HTTP and HTTPS session count.

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

How to findout the individual total number of HTTP and HTTPS session count.

L4 Transporter

Hi Team,

 

How to findout the individual total number of  HTTP and HTTPS session count.

 

For example : Total session count is 1000

I need in this total 1000 session how many HTTP and HTTPS

 

HTTP session : 700

HTTPS session: 300

 

Regards,

Gururaj

 

 

1 accepted solution

Accepted Solutions

L5 Sessionator

Hello Gururaj,

to count active HTTP sessions you can use CLI command:
show session all filter application web-browsing count yes

To count active HTTPS sessions, just change application:
show session all filter application ssl count yes

Regards

Luciano

View solution in original post

5 REPLIES 5

L5 Sessionator

Hi,

 

By cli, you can use: show system statistics application. Will provide you real time monitoring per apps.

If you want to have the info through WUI, you can use this command through the API. (exemple: pan(a)chrome) and docs: https://www.paloaltonetworks.com/content/dam/paloaltonetworks-com/en_US/assets/pdf/technical-documen...

 

Hope help

 

V.

L5 Sessionator

Hello Gururaj,

to count active HTTP sessions you can use CLI command:
show session all filter application web-browsing count yes

To count active HTTPS sessions, just change application:
show session all filter application ssl count yes

Regards

Luciano

This one is close, but not accuate. Especially on port 80 you will have many different applications, not just web-browsing.

Try instead:

show session all filter destination-port 443 count yes

show session all filter destination-port 80 count yes

 

 

Or if you want to make it automatic or need data for the past:

 

Custom report -> from Traffic Log -> Query: (port.dst eq 80) or (port.dst eq 443) -> Columns: Destination port, Repeat Count -> Group by destination port, Sort by repeat count.

 

Then you get something like this:

repeat..jpg

Good catch, santonic - but generally, that is the principle. Show session all filter _something_ and optionally count yes.
  • 1 accepted solution
  • 4957 Views
  • 5 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!