Skip to main content
Version: v1.4.0

cscli metrics

cscli metrics

Display crowdsec prometheus metrics.


Fetch metrics from the prometheus server and display them in a human-friendly way

cscli metrics [flags]


  -h, --help         help for metrics
-u, --url string Prometheus url (http://<ip>:<port>/metrics)

Options inherited from parent commands

  -c, --config string   path to crowdsec config file (default "/etc/crowdsec/config.yaml")
--debug Set logging to debug.
--error Set logging to error.
--info Set logging to info.
-o, --output string Output format : human, json, raw.
--trace Set logging to trace.
--warning Set logging to warning.


  • cscli - cscli allows you to manage crowdsec