martin-helmich / prometheus-nginxlog-exporter

Export metrics from Nginx access log files to Prometheus
Apache License 2.0
935 stars 165 forks source link

Metrics for $ssl_protocol and $ssl_cipher? #200

Closed saz closed 3 years ago

saz commented 3 years ago

Is your feature request related to a problem? Please describe. I don't see any way to add additional metrics for e.g. ssl_protocol and ssl_cipher

Describe the solution you'd like It would be great to configure metrics dynamically or, if that's not possible, to add additional metrics for ssl_protocol, ssl_cipher and maybe user agents. I'd like to add a graph to my prometheus/grafana setup, which shows usages of the different ssl_protocols and ssl_ciphers.

Describe alternatives you've considered Using something like goaccess is possible, but it's completely separate

martin-helmich commented 3 years ago

As long as ssl_protocol and ssl_cipher show up in your access log, you can add them as labels via configuration.

Hope that helps!

helmich-bot commented 3 years ago

There has not been any activity to this issue in the last 30 days. It will automatically be closed after 7 more days. Remove the stale label to prevent this.