Skip to main content

Summary

The awstats cube integrates statistics processed by awstats into cubicweb for visualisation and integration.

It uses awstats processed files (/var/lib/awstats/*) to import stats and visualize them. It has a simple html export of the processed data and a visualisation of the imported stats (by document and for a time period).

To establish a link with the entity you want to build stats for you need to create a relationship Hits “stats_about” X.

class missing_stats_about(RelationDefinition):
    name = 'stats_about'
    subject = 'Hits'
    object = ('BlogEntry', 'MicroBlogEntry')

When the link is established, importing the statistics is done using the update-webstats cubicweb-ctl command. For help on that command type

cubicweb-ctl update-webstats -h

The process running cubicweb and cubicweb-ctl needs to have read access to the configured location of the processed varnish files.

Configuration

awstats-dir:

The directory where the processed awstats files are contained.

awstats-domain:

If awstats processes multiple domains, which domain to use for importing into cubicweb.

awstats-periodicity:

Awstats by default processes per month, but you can configure it to deal with day periods. (split by hours is not yet implemented)

Dependencies

http://awstats.sourceforge.net/

or apt-get install awstats (for debian derived distributions)

Metadata

Release files for cubicweb-awstats 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cubicweb-awstats 0.3.0
File Size Uploaded
cubicweb-awstats-0.3.0.tar.gz 16.9 kB Details

Release files / cubicweb-awstats-0.3.0.tar.gz

Download URL cubicweb-awstats-0.3.0.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8282950ca52a913da9a6dd44c6ab2194411019c7df431d6d7b11273af0fe883b
BLAKE2b-256 checksum
How to use checksums
0993b5916881590e04815394ded463cd43e644a80024c9a7f85c57b136a06f96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

0.2.0

1 release file

0.1.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page