Ship Gitaly Logs to Logstash
Currently during our testing phase, we are searching for Gitaly errors using grep
. This does not scale.
Lets make sure that logs are shipped to our ELK stack for easier searching.
Ideally this should be done after #130 (closed) is done, but this isn't strictly required as we can ship the logs we already have.
-
Update the Gitaly configuration to use JSON logging: config.toml
-
Add support for Gitaly logging format configuration in omnibus (omnibus-gitlab!1616 (merged)) -
Enable in production
-
-
Ensure that the Gitaly logs are being sent via syslog to logstash -
Update the ELK configuration to parse the JSON messages, using the Logstash JSON filter
Edited by Alejandro Rodríguez