GoAccess Analysis of K8s Nginx Log
GoAccess Analysis of K8s Nginx Log
Software
- Use this document to update GoAccess to the latest version: https://goaccess.io/download
- Use this document to find the suitable log format: https://github.com/allinurl/goaccess/blob/master/config/goaccess.conf
- Install the
jqLinux tool Analyze K8s Nginx Log
1
find */* -type f -exec jq ".textPayload" \{\} \; | goaccess --log-format='%^ %^ [%h] %^ %^ [%d:%t %^] \"%r\" %^ %b \"%R\" \"%u\" %^ %^ [%v] %^:%^ %^ %T %^ %^' --date-format=%d/%b/%Y --time-format=%H:%M:%S - --with-output-resolver -o out.html
This post is licensed under CC BY 4.0 by the author.