0

I recently enabled https for my site https://cooltext.com that runs on IIS.

I'd like to know how many of my users are using https vs http. Google is directing search users to the https site, but most users are hitting http from some link or by typing in the address.

I searched thru the windows performance counters but couldn't find any. Did I miss a counter somewhere? Perhaps connection count by port number somewhere in there?

I checked google analytics but couldn't find any tracking on http vs https.

How can I find this out?

Lone Coder
  • 150
  • 2
  • 9

1 Answers1

2

I took a look at perfmon, but also did not see anything to distinguish between HTTP & HTTPS. For "current" connections you could use netstat or other network analyzer tool. For "trends" you could use one of many weblog analyzer tools to review the IIS log files. Look at the field named "s-port".

Software: Microsoft Internet Information Services 8.5
Version: 1.0
Date: 2016-09-10 03:47:52
Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port
2016-09-10 03:47:52 1.2.3.4 GET / - 80
2016-09-10 03:47:52 1.2.3.4 GET / - 443

Powershell

(netstat -n | where {$_ -match "\d:443\s"} | measure-object).count
0
Clayton
  • 4,483
  • 16
  • 24