Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > Web Analytics Log files??? View modes: 
User avatar
Member
Member
mlux-chakracentral - 3/5/2010 8:54:14 AM
   
Web Analytics Log files???
Hi I read through the documentation for web analytics and how it works. Is there a way or a good way to get past log file put into Kentico?

For example we have a site that we have IIS log file turned on for. We want old their old stats to be put into their new Kentico site that was just launched. Any thoughts?

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 3/9/2010 3:00:03 AM
   
RE:Web Analytics Log files???
Hi,

I’m not quite sure if I understand you correctly. When an event occurs, it's saved in the file in folder ~/App_data/CMSAnalytics. This path for web analytics files cannot be changed. If you mean something else, please try to describe your question in more detail way with usage of some examples.

Best regards,
Miroslav Remias.

User avatar
Member
Member
mlux-chakracentral - 3/9/2010 7:08:38 AM
   
RE:Web Analytics Log files???
No problem. I thought i had it pretty spelled out but here it goes again.

We have a clients site that was not using Kentico CMS for a few years, during this time we have saved all their IIS log files. Now they have just updated their site and are using Kentico CMS. We have Kentico web analytics turned on and its tracking now.

Is there a way to get the old IIS log files to show up in Kentico web analytics?

From my understanding Kentico takes the log files it created in App_Data/CMSAnalytics folder then uploads the data to the database and then deletes the log file.

Can i just put the old IIS log file in that folder? Doesnt sound like that will work though.

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 3/10/2010 5:13:15 AM
   
RE:Web Analytics Log files???
Hi,

Kentico CMS Web analytics module can handle only files in certain format which had been previously created by Kentico CMS. However, if the format of your custom files will be the same as format of Kentico CMS files it should work. However, you can use custom code to read your IIS log files and store the data into web analytics tables into database and you do not need to create files of such format.

Best regards,
Miroslav Remias.