{"id":2090,"date":"2013-08-03T07:44:45","date_gmt":"2013-08-03T07:44:45","guid":{"rendered":"http:\/\/www.andrewhope.co.uk\/Blog\/?p=2090"},"modified":"2022-05-14T20:27:34","modified_gmt":"2022-05-14T19:27:34","slug":"getting-awstats-to-generate-reports","status":"publish","type":"post","link":"https:\/\/www.andrewhope.co.uk\/Blog\/getting-awstats-to-generate-reports\/","title":{"rendered":"Getting awstats to generate reports"},"content":{"rendered":"<p>I&#8217;ve managed to go that one step further with getting awstats to generate reports and finally have it recording information.<\/p>\n<p>The way awstats works is it generates all the file information from a local database, which stores all the records for your website. You have to run the command<\/p>\n<p><strong>perl awstats.pl -config=<\/strong><strong><em>mysite<\/em><\/strong><strong>\u00a0-update<\/strong><strong>\u00a0<\/strong>each day so that your files are dragged in from the access_log in your log files directory and added to the database<\/p>\n<p>You can then compile your reports using the<strong> -output -buildstaticlinks<\/strong> command<\/p>\n<p>I&#8217;ve create a more documented <strong><a title=\"GUIDE\" href=\"http:\/\/www.andrewhope.co.uk\/technology\/tutorials\/awstats.html\" target=\"_blank\" rel=\"noopener\">guide<\/a> <\/strong>for this on my website for people who need to understand the configuration and setup further and are having a little trouble with awstats on their website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve managed to go that one step further with getting awstats to generate reports and finally have it recording information. [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":"","_links_to":"","_links_to_target":""},"categories":[4],"tags":[274,393,409,406,403,395,407,408],"class_list":["post-2090","post","type-post","status-publish","format-standard","hentry","category-it","tag-apache","tag-awstats","tag-getting-awstats-to-work","tag-not-generating-reports","tag-not-working","tag-perl","tag-updating-awstats","tag-updating-database"],"aioseo_notices":[],"views":266,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.andrewhope.co.uk\/Blog\/wp-json\/wp\/v2\/posts\/2090","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.andrewhope.co.uk\/Blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.andrewhope.co.uk\/Blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.andrewhope.co.uk\/Blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.andrewhope.co.uk\/Blog\/wp-json\/wp\/v2\/comments?post=2090"}],"version-history":[{"count":1,"href":"https:\/\/www.andrewhope.co.uk\/Blog\/wp-json\/wp\/v2\/posts\/2090\/revisions"}],"predecessor-version":[{"id":4942,"href":"https:\/\/www.andrewhope.co.uk\/Blog\/wp-json\/wp\/v2\/posts\/2090\/revisions\/4942"}],"wp:attachment":[{"href":"https:\/\/www.andrewhope.co.uk\/Blog\/wp-json\/wp\/v2\/media?parent=2090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.andrewhope.co.uk\/Blog\/wp-json\/wp\/v2\/categories?post=2090"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.andrewhope.co.uk\/Blog\/wp-json\/wp\/v2\/tags?post=2090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}