AUDISP-STATSD(8)

πŸ“¦
version 4.2.1 Β· 2 versions
, in arch rolling, centos-stream 10, fedora 43, fedora 44

πŸ’… AUDISP-STATSD πŸ’…

okay bestie, so this is audisp-statsd, from section 8 of the system administration utilities manual (you know, the admin commands girlies πŸ‘‘). it's the plugin that pushes audit metrics to a statsd service, and honestly? she ate. let's get into it.


✨ NAME ✨

audisp-statsd β€” the plugin that pushes audit metrics to a statsd service πŸ¦‹


🌸 SYNOPSIS 🌸

audisp-statsd [ OPTIONS ]

πŸ’– DESCRIPTION πŸ’–

so audisp-statsd is a plugin for the audit event dispatcher, and what she does is push audit metrics to a statsd service over UDP. literally. she reads auditd's state report at regular intervals and forwards all that data along. 🫢

lowkey important: generation of the state report must be enabled in auditd.conf. no state report, no metrics, no vibes. πŸ’€

πŸŽ€ CONFIGURATION πŸŽ€

her config file lives at /etc/audit/audisp-statsd.conf and these are the parameters she recognizes, no cap:

  • address β€” the name or address of the statsd server. that's it, that's the whole thing. πŸ’…
  • port β€” the UDP port of the statsd service.
  • interval β€” the time interval between reading auditd's report. the value is a time string like 10m, 1h, 2d, or 6M, where the suffix is s for seconds, m for minutes, h for hours, d for days, and M for months. the default is 15s. ⏰

πŸ“Š REPORT METRICS πŸ“Š

the gauges 🫧

the plugin collects the following metrics as gauges:

  • backlog β€” number of kernel events pending transfer to user space
  • lost β€” number of kernel events dropped 😭
  • free_space β€” how much disk free space auditd sees in MiB
  • plugin_current_depth β€” number of events in auditd pending transfer to plugins
  • plugin_max_depth β€” historical maximum number of events backlogged while pending transfer to plugins
  • total_memory β€” current total memory in use by glibc in KiB
  • memory_in_use β€” how much of the total memory is actively used in KiB
  • memory_free β€” amount of free memory available in the glibc arenas in KiB

the counters πŸ”’

and the following metrics are counters:

  • events_total_count β€” total number of events seen during interval
  • events_total_failed β€” total number of events seen during interval with failed outcome
  • events_avc_count β€” total number of AVC events seen during interval
  • events_fanotify_count β€” total number of FANOTIFY events seen during interval
  • events_logins_success β€” total number of successful login events seen during interval
  • events_logins_failed β€” total number of failed login events seen during interval
  • events_anamoly_count β€” total number of anamoly events seen during interval
  • events_response_count β€” total number of anamoly response events seen during interval

πŸ—‚οΈ FILES πŸ—‚οΈ

  • /etc/audit/audisp-statsd.conf
  • /etc/audit/plugins/au-statsd.conf

πŸ‘€ SEE ALSO πŸ‘€

auditd.conf(8), auditd-plugins(5).


πŸ’œ AUTHOR πŸ’œ

Steve Grubb


and that's the whole page, bestie. this one came from Red Hat, dated June 2025 β€” so go forth, enable that state report, and let her push those metrics. slay. βœ¨πŸ’…πŸ¦‹

πŸ“¦ where this page comes from