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

Reply
Highlighted
L4 Transporter

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

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

 

 


Accepted Solutions
Highlighted
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


All Replies
Highlighted
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.

Highlighted
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

Highlighted
L5 Sessionator

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

 

 

Highlighted
L5 Sessionator

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

Highlighted
L5 Sessionator

Good catch, santonic - but generally, that is the principle. Show session all filter _something_ and optionally count yes.
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 Live Community as a whole!

The Live Community thanks you for your participation!