{"id":13530271,"url":"https://github.com/corelight/suricata_exporter","last_synced_at":"2026-01-13T18:25:24.881Z","repository":{"id":43053028,"uuid":"462348716","full_name":"corelight/suricata_exporter","owner":"corelight","description":"A Prometheus Exporter for Suricata","archived":false,"fork":false,"pushed_at":"2025-07-27T15:36:17.000Z","size":99,"stargazers_count":23,"open_issues_count":1,"forks_count":14,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-27T17:43:58.562Z","etag":null,"topics":["prometheus","prometheus-exporter","suricata"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/corelight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-22T15:03:44.000Z","updated_at":"2025-07-27T15:36:21.000Z","dependencies_parsed_at":"2024-01-07T13:11:46.249Z","dependency_job_id":"c1687f15-d26d-4902-8f3e-52aba0b69627","html_url":"https://github.com/corelight/suricata_exporter","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/corelight/suricata_exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corelight%2Fsuricata_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corelight%2Fsuricata_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corelight%2Fsuricata_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corelight%2Fsuricata_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corelight","download_url":"https://codeload.github.com/corelight/suricata_exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corelight%2Fsuricata_exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28396019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["prometheus","prometheus-exporter","suricata"],"created_at":"2024-08-01T07:00:47.069Z","updated_at":"2026-01-13T18:25:24.846Z","avatar_url":"https://github.com/corelight.png","language":"Go","funding_links":[],"categories":["Operations, Monitoring and Troubleshooting"],"sub_categories":[],"readme":"# Suricata Prometheus Exporter\n\nThis is a Prometheus Exporter for Suricata using `dump-counters` via the\n[unix socket](https://suricata.readthedocs.io/en/suricata-6.0.0/unix-socket.html#interacting-via-unix-socket)\nto query metrics.\n\n## Usage\n\n```bash\n$ ./suricata_exporter -h\nUsage of ./suricata_exporter:\n  -suricata.socket-path string\n        Path to the Suricata Command socket. (default \"/var/run/suricata.socket\")\n  -version\n        Output version information.\n  -web.listen-address string\n        Address to listen on (default \":9917\")\n```\n\nTo verify the exporter is working with your Suricata setup, use the\nfollowing command to view a subset of the capture metrics.\n\n```bash\n$ curl -s localhost:9917/metrics | grep kernel_packets_total\n# HELP suricata_capture_kernel_packets_total\n# TYPE suricata_capture_kernel_packets_total counter\nsuricata_capture_kernel_packets_total{thread=\"W#01-eth1\"} 7744\nsuricata_capture_kernel_packets_total{thread=\"W#02-eth1\"} 8435\nsuricata_capture_kernel_packets_total{thread=\"W#03-eth1\"} 7564\nsuricata_capture_kernel_packets_total{thread=\"W#04-eth1\"} 9747\n```\n\nYou can now configure a [Prometheus server](https://prometheus.io/docs/prometheus/latest/getting_started/)\nto scrape the Suricata exporter in regular intervals for later visualization\nand analysis.\n\n## Metrics\n\nCurrently produces per-thread metrics for `decoder`, `flow`, `flow_bypassed`,\n`app_layer` and `tcp`. Metrics for `memuse` are reported globally.\n\n## Compatibility\n\nDeveloped against Suricata 6.0.4 and af-packet. Most supported metrics are\nhard-coded.\n\nUpdated for Suricata 7.0.0, but not all new metrics have been added.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorelight%2Fsuricata_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorelight%2Fsuricata_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorelight%2Fsuricata_exporter/lists"}