mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 21:49:46 +00:00
Update cheatsheets
This commit is contained in:
25
linux/goaccess
Normal file
25
linux/goaccess
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
|
||||
- Analyze 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`
|
||||
Reference in New Issue
Block a user