overview.asciidoc 744 B

1234567891011121314151617
  1. [role="xpack"]
  2. [[auditing]]
  3. == Auditing security events
  4. You can enable auditing to keep track of security-related events such as
  5. authentication failures and refused connections. Logging these events enables you
  6. to monitor your cluster for suspicious activity and provides evidence in the
  7. event of an attack.
  8. [IMPORTANT]
  9. ============================================================================
  10. Audit logs are **disabled** by default. To enable this functionality, you
  11. must set `xpack.security.audit.enabled` to `true` in `elasticsearch.yml`.
  12. ============================================================================
  13. The audit log persists events to a dedicated `<clustername>_audit.json` file on
  14. the host's file system (on each node).