GoAccess: Difference between revisions

From bibbleWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
=Introduction=
=Introduction=
This page is to capture the goaccess setup.
This page is to capture the goaccess setup.<br>
[[File:Goaccess 1.png|600px]]
 
=Configuration=
=Configuration=
Well it is not too completed  
Well it is not too completed  

Latest revision as of 05:24, 6 May 2025

Introduction

This page is to capture the goaccess setup.

Configuration

Well it is not too completed

apt install goacess

To configure you should create a .goaccessrc as this allows you to use zcat more easily. I gave a sample - oo matron - to copilot and they gave me

time-format %T
date-format %d/%b/%Y
log-format %h %^ %^ [%d:%t %^] "%r" %s %b "%R" "%u"

Usage

Now we can do unprompted

goaccess /var/logs/nginx/www.example.com.log

Pressing o seems to expand the data and do dns resolution. Because we have already specified out formats we can use zcat

zcat -f /var/log/nginx/www.example.com.log.2.gz | goaccess

That's it