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, 673🔥, 0💬
Popular Posts:
How to unzip a PowerPoint .pptx file? According to Microsoft documentation, a .pptx file is really a...
How to Install and Start Skype Meeting App in Google Chrome? You can follow this tutorial to install...
Where are Microsoft Teams files located on my Windows 7 system? If you have Microsoft Teams desktop ...
How to turn on or off comments? I have a PowerPoint presentation which has comments entered by diffe...
Is Tahoma font supported on iPhone, iPad and other Apple devices? The answer is no. Tahoma font is n...