GitLab Log One Liners
jq '."grpc.meta.client_name"' var/log/gitlab/gitaly/current | sort | uniq -c | sort -n
GitLab Configs¶
Remove all uncommented lines from gitlab.rb
-- with the version of sed
provided on macOS. (Yes: gsed
is available!)
grep -v '^#' gitlab.rb | sed '/^[t|s]*$/d'
Tail but only some stuff¶
You can say gitlab-ctl tail gitlab-rails nginx
to view just the logs from those services.