Loading

Modsecurity Integration

Version 1.20.0 (View all)
Compatible Kibana version(s) 7.16.0 or higher
8.0.0 or higher
9.0.0 or higher
Supported Serverless project types
What's this?
Security
Observability
Subscription level
What's this?
Basic
Level of support
What's this?
Community

This integration periodically fetches audit logs from Modsecurity servers. It can parse audit logs created by the HTTP server.

The logs were tested with ModSecurity v3 with nginx connector and ModSecurity v3 with Apache Connector. Change the default ModSecurity logging format to json as per configuration.

SecAuditLogParts ABDEFHIJZ
SecAuditLogType Serial
SecAuditLog /var/log/modsec_audit.json
SecAuditLogFormat JSON

Be careful to drop the list of all rules that matched for the transaction (K) in SecAuditLogParts. That part can make raw logs too long to parse.

The Audit Log dataset collects Modsecurity Audit logs.