Apache log request port number
You will need to define a custom log pattern (http://httpd.apache.org/docs/current/mod/mod_log_config.html) which can include the value of an environment variable using the %{VARNAME}e
notation. Using the variables that mod_ssl
makes available (https://httpd.apache.org/docs/2.4/mod/mod_ssl.html) you could include at a minimum something like %{HTTPS}e
which will show which requests were over SSL/TLS or not.
Personally I tend add a few of those variables so I can audit which ciphers, protocol version, etc. are used by clients to influence tuning decisions.
Once you have that, putting it into an ELK stack as suggested in the comments allows you to create some informative dashboards.