Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (430)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Persist Processed Log Data to File
How to Persist Processed Log Data to File?
✍: FYIcenter.com
If you want to Persist Processed Log Data to File,
you can follow these steps:
1. Create a new directory to store processed log data:
fyicenter$ sudo mkdir /var/log/goaccess
2. Run "goaccess" with "--persist" and "--db-path" options for the first log file:
fyicenter$ sudo goaccess access_log -o report.html --persist --db-path=/var/log/goaccess
3. Verify processed log data files:
fyicenter$ ls -l /var/log/goaccess -rw-r--r--. 1 root root 33 Dec 8 22:32 I32_DATES.db -rw-r--r--. 1 root root 4152 Dec 8 22:32 IGLP_LAST_PARSE.db -rw-r--r--. 1 root root 54 Dec 8 22:32 IGSL_BROWSERS_MTRC_AGENTS.db -rw-r--r--. 1 root root 54 Dec 8 22:32 IGSL_GEO_LOCATION_MTRC_AGENTS.db -rw-r--r--. 1 root root 54 Dec 8 22:32 IGSL_HOSTS_MTRC_AGENTS.db -rw-r--r--. 1 root root 54 Dec 8 22:32 IGSL_NOT_FOUND_MTRC_AGENTS.db -rw-r--r--. 1 root root 54 Dec 8 22:32 IGSL_OS_MTRC_AGENTS.db -rw-r--r--. 1 root root 54 Dec 8 22:32 IGSL_REFERRING_SITES_MTRC_AGENTS.db -rw-r--r--. 1 root root 54 Dec 8 22:32 IGSL_REQUESTS_MTRC_AGENTS.db ...
Now you can restore processed data and combine it with new log files as shown in the next tutorial.
⇒ Restore Processed Log Data from File
2022-12-23, 665🔥, 0💬
Popular Posts:
How to find and read log file in FileZilla Server? I have logging turned on already. For FileZilla S...
Where are Microsoft Teams files located on my macOS computer? If you have Microsoft Teams desktop so...
How to add a new slide master in PowerPoint? I have 2 slide masters in the current template. They co...
Why I am getting the "run or save ChromeSetup.exe" pop up box when trying to install Google Chrome 3...
Why I am getting the "Warning: Unresponsive Script" message box? How to avoid this message box? When...