This commit is contained in:
Lloyd Brookes
2015-11-17 13:49:12 +00:00
parent 4be3ba4a3e
commit b77050fd8d
4 changed files with 53 additions and 90 deletions

BIN
doc/img/logstagia.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 KiB

37
doc/visualisation.md Normal file
View File

@ -0,0 +1,37 @@
## Goaccess
## Logstalgia
local-web-server is compatible with [logstalgia](http://code.google.com/p/logstalgia/).
### Install Logstalgia
On MacOSX, install with [homebrew](http://brew.sh):
```sh
$ brew install logstalgia
```
Alternatively, [download a release for your system from github](https://github.com/acaudwell/Logstalgia/releases/latest).
Then pipe the `logstalgia` output format directly into logstalgia for real-time visualisation:
```sh
$ ws -f logstalgia | logstalgia -
```
![local-web-server with logstalgia](http://75lb.github.io/local-web-server/logstagia.gif)
## glTail
To use with [glTail](http://www.fudgie.org), write your log to disk using the "default" format:
```sh
$ ws -f default > web.log
```
Then specify this file in your glTail config:
```yaml
servers:
dev:
host: localhost
source: local
files: /Users/Lloyd/Documents/MySite/web.log
parser: apache
color: 0.2, 0.2, 1.0, 1.0
```