Tags:
create new tag
view all tags

SID-02100: export WebStatistics into Excel

Status: Answered Answered TWiki version: 6.0.0 Perl version:
Category: CategoryStatistics Server OS: Last update: 10 years ago

How can I use the log files or any other method, to get the statsitcs from TWiki into an Excel spreadsheet for additional analytics?

-- TWiki Guest - 2015-08-24

Discussion and Answer

Do you want to do that with one of the WebStatistics, or the global SiteStatistics? Both are TWiki tables embedded in the topic, e.g. you should be able to copy the text in view mode, and paste into an Excel spreadsheet.

However, some cells don't have just a number, such as | 574 (52 unique users) |. If those cells are needed, you either need to manually clean them up, or create a utility topic that does that. That utility topic contains a VarSEARCH variable with a FormattedSearch. Do a search that identifies table cells, and add a multiple="on" parameter so that each search hit is one table row. In the format="..." parameter to can add RegularExpression $pattern() to pull values from certain cells.

Look also into the LogsStatisticsPlugin and UsageStatisticsPlugin.

-- Peter Thoeny - 2015-08-24

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title export WebStatistics into Excel
SupportCategory CategoryStatistics
TWiki version 6.0.0
Server OS

Web server

Perl version

Browser & version IE 11.0.22
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2015-08-24 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.