{"id":55,"date":"2023-09-28T21:57:28","date_gmt":"2023-09-28T14:57:28","guid":{"rendered":"http:\/\/nitirat.ddns.net\/wordpress\/?p=55"},"modified":"2024-05-07T21:26:26","modified_gmt":"2024-05-07T14:26:26","slug":"how-to-install-goaccess-web-log-analyzer-with-nginx-on-linux-or-unix","status":"publish","type":"post","link":"http:\/\/nitirat.ddns.net\/wordpress\/?p=55","title":{"rendered":"How to install GoAccess web log analyzer with Nginx on Linux or Unix"},"content":{"rendered":"\n<p>Type the following&nbsp;<a href=\"https:\/\/www.cyberciti.biz\/tips\/linux-debian-package-management-cheat-sheet.html\">apt-get command<\/a>\/<a href=\"https:\/\/www.cyberciti.biz\/faq\/ubuntu-lts-debian-linux-apt-command-examples\/\">apt command<\/a>&nbsp;as follows:<br><code>$ sudo apt-get install goaccess<\/code><br>Sample outputs:<\/p>\n\n\n\n<p><a href=\"https:\/\/www.cyberciti.biz\/faq\/how-to-install-goaccess-web-log-analyzer-with-nginx-on-linux-or-unix\/install-goaccess-on-ubuntu-linux\/\"><\/a>Fig.01: How to install GoAccess on Ubuntu Linux server<\/p>\n\n\n\n<p>Edit file \/etc\/goaccess.conf<\/p>\n\n\n\n<p>\u0e40\u0e2d\u0e32 comment \u0e2d\u0e2d\u0e01<\/p>\n\n\n\n<p>time-format %H:%M:%S<\/p>\n\n\n\n<p>date-format %d\/%b\/%Y<\/p>\n\n\n\n<p>log-format %h %^[%d:%t %^] \u201c%r\u201d %s %b \u201c%R\u201d \u201c%u\u201d<\/p>\n\n\n\n<p>\u0e2a\u0e23\u0e49\u0e32\u0e07 cron \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49 update \u0e17\u0e38\u0e01 5 \u0e19\u0e32\u0e17\u0e35<\/p>\n\n\n\n<p>Nano \/etc\/cron.d\/goaccess<\/p>\n\n\n\n<p>*\/5 * * * * root goaccess -f \/var\/log\/apache2\/access.log -a &gt; \/var\/www\/html\/goaccess\/report.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Type the following&nbsp;apt-get command\/apt command&nbsp;as follows:$ sudo apt-get install goaccessSample outputs: Fig.01: How to install GoAccess on Ubuntu Linux server Edit file \/etc\/goaccess.conf \u0e40\u0e2d\u0e32 comment \u0e2d\u0e2d\u0e01 time-format %H:%M:%S date-format %d\/%b\/%Y log-format %h %^[%d:%t %^] \u201c%r\u201d %s %b \u201c%R\u201d \u201c%u\u201d \u0e2a\u0e23\u0e49\u0e32\u0e07 cron \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49 update \u0e17\u0e38\u0e01 5 \u0e19\u0e32\u0e17\u0e35 Nano \/etc\/cron.d\/goaccess *\/5 * * * * root goaccess [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":119,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[6],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu"],"_links":{"self":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=55"}],"version-history":[{"count":1,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/55\/revisions"}],"predecessor-version":[{"id":56,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/55\/revisions\/56"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/119"}],"wp:attachment":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}