Add RackAttack info to structured logs

https://docs.gitlab.com/ee/security/rack_attack.html#remove-blocked-ips-from-rack-attack-via-redis

rack attack logs are currently going to production.log, it would be helpful to SREs to have these log messages in structured logging, production_json.log. This would allow us to do queries using the existing logging infrastructure in kibana, instead of using the the unstructured production.log which lacks timestamps and other helpful information.

Follow ups:

  • Fluentd Merge Request: gitlab-cookbooks/gitlab_fluentd!76 (merged)
  • Runbook documentation: gitlab-com/runbooks!1092 (merged)
  • CE Merge Request included changes to the CE documentation !28565 (merged)
Edited May 24, 2019 by Mayra Cabrera
Assignee Loading
Time tracking Loading