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, 821🔥, 0💬
Popular Posts:
How to install IPython in a Conda environment? If you want to install IPython in a specific Conda en...
How to download Google Chrome 31? I heard it has some really nice features for Web developers. If yo...
Should I sign in to Google account after installing Google Chrome 55? When you run Google Chrome 55 ...
How to open firewall for the FTP command-line tool on Windows for data connections in active mode? I...
Where to find answers to frequently asked questions on Microsoft Word? I want to know how to open PD...