How to analyze HTTP and HTTPS traffic separately, when Piped Logs function is enabled?

Created:

2016-11-16 13:09:43 UTC

Modified:

2017-04-24 11:55:58 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to analyze HTTP and HTTPS traffic separately, when Piped Logs function is enabled?

Applicable to:

  • Plesk 12.0 for Linux

Symptoms

How to analyze HTTP and HTTPS traffic separately when Piped Logs function is enabled?

Resolution

Piped Logs function is intended to reduce quantity of opened files. Both HTTP and HTTPS traffic is logged to access_log , Daily Maintenance task analyses it and creates two *.processed files:

[root@plesk logs]# ll | grep processed
-rw-r--r-- 2 root root 236071 Aug 26 13:53 access_log.processed
-rw-r--r-- 2 root root 198142 Aug 26 13:53 access_ssl_log.processed

Web statistics is counted based on these files. If it is needed to analyze HTTPS and HTTP traffic separately, use the following commands:

# grep 'https://' access_log
# grep 'http://' access_log
Have more questions? Submit a request
Please sign in to leave a comment.