tldr/pages/linux/goaccess.md

21 lines
545 B
Markdown
Raw Normal View History

2021-10-06 11:20:40 +01:00
# goaccess
> An open source real-time web log analyzer.
> More information: <https://goaccess.io>.
- Analyze one or more log files in interactive mode:
`goaccess {{path/to/logfile1 path/to/file2 ...}}`
- Use a specific log-format (or pre-defined formats like "combined"):
`goaccess {{path/to/logfile}} --log-format={{format}}`
- Analyse a log from stdin:
`tail -f {{path/to/logfile}} | goaccess -`
- Analyze a log and write it to an HTML file in real-time:
`goaccess {{path/to/logfile}} --output {{path/to/file.html}} --real-time-html`