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, 783🔥, 0💬
Popular Posts:
Why I getting the "Error! No text of specified style in document." in Microsoft Word? You are gettin...
How to add slide numbers and copyright in the footer area? You can add slide numbers, copyright text...
What are header and footer design options in Microsoft Word? I want to learn more about creating hea...
Sometimes I see special symbols are showing up at the end of each paragraph in my Microsoft Word doc...
How to unzip a Word Document .docx file? According to Microsoft documentation, a .docx file is reall...