You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.4 KiB

Goaccess

To get live statistics in goaccess, first create this config file at ~/.goaccessrc:

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

Then, start the server, outputting combined format logs to disk:

$ ws -f combined > web.log

In a separate tab, point goaccess at web.log and it will display statistics in real time:

$ goaccess -p ~/.goaccessrc -f web.log

Logstalgia

local-web-server is compatible with logstalgia.

Install Logstalgia

On MacOSX, install with homebrew:

$ brew install logstalgia

Alternatively, download a release for your system from github.

Then pipe the logstalgia output format directly into logstalgia for real-time visualisation:

$ ws -f logstalgia | logstalgia -

local-web-server with logstalgia

glTail

To use with glTail, write your log to disk using the "default" format:

$ ws -f default > web.log

Then specify this file in your glTail config:

servers:
    dev:
        host: localhost
        source: local
        files: /Users/Lloyd/Documents/MySite/web.log
        parser: apache
        color: 0.2, 0.2, 1.0, 1.0