Restore Processed Log Data from File

Q

How to Restore Processed Log Data from File?

✍: FYIcenter.com

A

If you want to Restore Processed Log Data from File, you can follow these examples:

1. Run "goaccess" with "--restore" and "--db-path" options without any new log files:

fyicenter$ sudo goaccess -o report.html --restore --db-path=/var/log/goaccess

2. Run "goaccess" with "--restore" and "--db-path" options with new log files to merge log data:

fyicenter$ sudo goaccess access_log -o report.html --restore --db-path=/var/log/goaccess

3. Run "goaccess" with "--restore", "--persist" and "--db-path" options with new log files to merge and update log data:

fyicenter$ sudo goaccess access_log -o report.html --restore --persist --db-path=/var/log/goaccess

 

Non-Root Access to Apache Web Server Log Files

Persist Processed Log Data to File

Customizing GoAccess

⇑⇑ GoAccess - Frequently Asked Questions

2022-12-23, 318🔥, 0💬