{"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":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"I&#039;ve managed to go that one step further with getting awstats to generate reports and finally have it recording information. 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 perl awstats.pl -config=mysite -update each day so that\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"admin\"\/>\n\t<meta name=\"msvalidate.01\" content=\"95C2F67592576EDF87B6C4B9774D0014\" \/>\n\t<meta name=\"keywords\" content=\"apache,awstats,getting awstats to work,not generating reports,not working,perl,updating awstats,updating database,it\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.andrewhope.co.uk\/Blog\/getting-awstats-to-generate-reports\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/getting-awstats-to-generate-reports\\\/#article\",\"name\":\"Getting awstats to generate reports | Andrew Hope\",\"headline\":\"Getting awstats to generate reports\",\"author\":{\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/#person\"},\"datePublished\":\"2013-08-03T07:44:45+01:00\",\"dateModified\":\"2022-05-14T20:27:34+01:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/getting-awstats-to-generate-reports\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/getting-awstats-to-generate-reports\\\/#webpage\"},\"articleSection\":\"IT, apache, awstats, getting awstats to work, not generating reports, not working, perl, updating awstats, updating database\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/getting-awstats-to-generate-reports\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/category\\\/it\\\/#listItem\",\"name\":\"IT\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/category\\\/it\\\/#listItem\",\"position\":2,\"name\":\"IT\",\"item\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/category\\\/it\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/getting-awstats-to-generate-reports\\\/#listItem\",\"name\":\"Getting awstats to generate reports\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/getting-awstats-to-generate-reports\\\/#listItem\",\"position\":3,\"name\":\"Getting awstats to generate reports\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/category\\\/it\\\/#listItem\",\"name\":\"IT\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/#person\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/author\\\/admin\\\/\",\"name\":\"admin\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/getting-awstats-to-generate-reports\\\/#webpage\",\"url\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/getting-awstats-to-generate-reports\\\/\",\"name\":\"Getting awstats to generate reports | Andrew Hope\",\"description\":\"I've managed to go that one step further with getting awstats to generate reports and finally have it recording information. 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 perl awstats.pl -config=mysite -update each day so that\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/getting-awstats-to-generate-reports\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2013-08-03T07:44:45+01:00\",\"dateModified\":\"2022-05-14T20:27:34+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/#website\",\"url\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/\",\"name\":\"Andrew Hope\",\"description\":\"DIY, Gaming, Automotive Chat and Invention\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.andrewhope.co.uk\\\/Blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Getting awstats to generate reports | Andrew Hope","description":"I've managed to go that one step further with getting awstats to generate reports and finally have it recording information. 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 perl awstats.pl -config=mysite -update each day so that","canonical_url":"https:\/\/www.andrewhope.co.uk\/Blog\/getting-awstats-to-generate-reports\/","robots":"max-image-preview:large","keywords":"apache,awstats,getting awstats to work,not generating reports,not working,perl,updating awstats,updating database,it","webmasterTools":{"msvalidate.01":"95C2F67592576EDF87B6C4B9774D0014","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.andrewhope.co.uk\/Blog\/getting-awstats-to-generate-reports\/#article","name":"Getting awstats to generate reports | Andrew Hope","headline":"Getting awstats to generate reports","author":{"@id":"https:\/\/www.andrewhope.co.uk\/Blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.andrewhope.co.uk\/Blog\/#person"},"datePublished":"2013-08-03T07:44:45+01:00","dateModified":"2022-05-14T20:27:34+01:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/www.andrewhope.co.uk\/Blog\/getting-awstats-to-generate-reports\/#webpage"},"isPartOf":{"@id":"https:\/\/www.andrewhope.co.uk\/Blog\/getting-awstats-to-generate-reports\/#webpage"},"articleSection":"IT, apache, awstats, getting awstats to work, not generating reports, not working, perl, updating awstats, updating database"},{"@type":"BreadcrumbList","@id":"https:\/\/www.andrewhope.co.uk\/Blog\/getting-awstats-to-generate-reports\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.andrewhope.co.uk\/Blog#listItem","position":1,"name":"Home","item":"https:\/\/www.andrewhope.co.uk\/Blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.andrewhope.co.uk\/Blog\/category\/it\/#listItem","name":"IT"}},{"@type":"ListItem","@id":"https:\/\/www.andrewhope.co.uk\/Blog\/category\/it\/#listItem","position":2,"name":"IT","item":"https:\/\/www.andrewhope.co.uk\/Blog\/category\/it\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.andrewhope.co.uk\/Blog\/getting-awstats-to-generate-reports\/#listItem","name":"Getting awstats to generate reports"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.andrewhope.co.uk\/Blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.andrewhope.co.uk\/Blog\/getting-awstats-to-generate-reports\/#listItem","position":3,"name":"Getting awstats to generate reports","previousItem":{"@type":"ListItem","@id":"https:\/\/www.andrewhope.co.uk\/Blog\/category\/it\/#listItem","name":"IT"}}]},{"@type":"Person","@id":"https:\/\/www.andrewhope.co.uk\/Blog\/#person"},{"@type":"Person","@id":"https:\/\/www.andrewhope.co.uk\/Blog\/author\/admin\/#author","url":"https:\/\/www.andrewhope.co.uk\/Blog\/author\/admin\/","name":"admin"},{"@type":"WebPage","@id":"https:\/\/www.andrewhope.co.uk\/Blog\/getting-awstats-to-generate-reports\/#webpage","url":"https:\/\/www.andrewhope.co.uk\/Blog\/getting-awstats-to-generate-reports\/","name":"Getting awstats to generate reports | Andrew Hope","description":"I've managed to go that one step further with getting awstats to generate reports and finally have it recording information. 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 perl awstats.pl -config=mysite -update each day so that","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/www.andrewhope.co.uk\/Blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.andrewhope.co.uk\/Blog\/getting-awstats-to-generate-reports\/#breadcrumblist"},"author":{"@id":"https:\/\/www.andrewhope.co.uk\/Blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.andrewhope.co.uk\/Blog\/author\/admin\/#author"},"datePublished":"2013-08-03T07:44:45+01:00","dateModified":"2022-05-14T20:27:34+01:00"},{"@type":"WebSite","@id":"https:\/\/www.andrewhope.co.uk\/Blog\/#website","url":"https:\/\/www.andrewhope.co.uk\/Blog\/","name":"Andrew Hope","description":"DIY, Gaming, Automotive Chat and Invention","inLanguage":"en-GB","publisher":{"@id":"https:\/\/www.andrewhope.co.uk\/Blog\/#person"}}]}},"aioseo_meta_data":{"post_id":"2090","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 13:50:36","updated":"2025-06-04 21:10:40","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.andrewhope.co.uk\/Blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.andrewhope.co.uk\/Blog\/category\/it\/\" title=\"IT\">IT<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tGetting awstats to generate reports\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.andrewhope.co.uk\/Blog"},{"label":"IT","link":"https:\/\/www.andrewhope.co.uk\/Blog\/category\/it\/"},{"label":"Getting awstats to generate reports","link":"https:\/\/www.andrewhope.co.uk\/Blog\/getting-awstats-to-generate-reports\/"}],"views":280,"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":0,"href":"https:\/\/www.andrewhope.co.uk\/Blog\/wp-json\/wp\/v2\/posts\/2090\/revisions"}],"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}]}}