How to store Awstats data in local database

Developers
Sunil
2013-09-24
2013-09-24
  • Sunil
    Sunil
    2013-09-24

    Hello,

    I need store Awstats data into database to shown stats graph as per my screen.

    Thanks

     
  • Assuming you have configured BuildHistoryFormat=text (the default) the AWStats database files are simple text files. They contain comments explaining the content. Therefore you can write scripts or programs to extract the information you need. The names of the files are

    awstatsMMYYYYDD.<yourdomain>.txt
    

    (MM: two digits month, YYYY: four digit year, DD: two digits day of month - optional, only present with option -databasebreak=day).

    They are located in the directory specified by the parameter DirData in the configuration file named

    awstats.<yourdomain>.conf
    

    .