Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (436)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Generate Log Report for Given Document Paths
How to Generate Log Report for Given Document Paths with GoAccess?
✍: FYIcenter.com
GoAccess does not have any functionality to limit Log Report for given document paths.
To Generate Log Report for given document paths, you need to filter out log files with other command line tools, like "grep" and "sed". Here are some examples:
1. Generate Log Report for a given document file:
grep '/about_us.html'access_log | goaccess -o log-report.html -
2. Generate Log Report for a given document folder:
grep '/jobs' access_log | goaccess -o log-report.html -
3. Generate Log Report with a given URL pattern:
awk '$7~/\.html|\.htm|\.php/' access.log | goaccess -
4. Generate Log Report in two steps:
sudo -u www awk '$7~/\.html|\.htm/' /var/log/httpd/access.log | sudo -u www tee /home/www/access.log sudo -u www goaccess /home/www/access.log -o /var/www/html/log-report.html
⇒ Running GoAccess Report in Real-Time Mode
2022-12-12, ∼1577🔥, 0💬
Popular Posts:
What are URL:sfb and URL:lync15 Protocols? URL:sfb and URL:lync15 protocols are special network prot...
How to download Google Chrome 31? I heard it has some really nice features for Web developers. If yo...
How to fix the Microphone Permissions error with making a call with Messenger in iPhone? If your Mic...
How to edit Mozilla Firefox configuration file? Mozilla Firefox has a configuration file that contro...
What are Mozilla Firefox 2 add-ons? Mozilla Firefox 2 add-ons extend the browser functionalities. So...