I picked ADMINISTRATION as the project. Not sure if it really has to do with STATISTICS FILTERING or STATISTICS TRENDS and there is not a project for NODE.COUNTER.

Seems to me that based on threads like this one, http://drupal.org/node/67974, there should be some small enhancements to the Home>administer>logs page. and or the Home>administer>settings statistics page.

1) A button to reset the stats (truncate the access_log) and to reset the counters (truncate node_counter).
2) A built in option in the statistics.module that can be controlled by a setting on the Home>administer>logs page that allows the administrator the option of excluding user=1 from incrementing any type of logging or statistics count.
3) Gravy on this would be a way to enter a few IP ranges that can also be excluded from incrementing any statistics and logging.

I am aware of the distinction of logging and tracking statistics, and of incrementing based on cache or by views, but these are all irrelevent to this feature request. It is still a very common need to at least make sure the webmaster is not racking up huge counts that others who see the stats will misinterpret.

Even a better link to help, or the explanation of manually truncating as part of the admin page instructions would be an improvement.

Thanks.

Comments

Wolfflow’s picture

Subscribe. Really needed for the reasons listed above. Agree fully.

thomasmurphy’s picture

mmmm, subscribing

dreed47’s picture

Project: Administration » Drupal core
Version: master » 6.2
Component: Code » statistics.module
thomas23@drupal.org’s picture

Agreed! I was just searching for a way to reset drupals statistics before site lauch.

I would alter your third feature, TechMosaic, to not only exclude user/1 but also (if you wish) all or any user group/role.

To give an example: On a band's site (or other group's, for that matter) it's not really the band member's hits and actions you want to track but those of visitors.

Thanks in advance!

gpk’s picture

No new features will go into 6.x - only 7.x.

This module http://drupal.org/node/18013 maybe did some of what you are after, but only available for 4.7.x (though a patch to update to 5.x does exist).

The lack of interest there suggests this might not have enough support to make it into core even in 7.x.

>reset drupals statistics before site lauch.
Try running the following query from phpMyAdmin or MySQL command line:
TRUNCATE TABLE accesslog;

I think you could do the same with table node_counter to clear node access statistics.

mikeryan’s picture

FYI - I have (finally) updated statistics_filter to Drupal 5, and will be moving it up to Drupal 6 as well.

Thanks.

gpk’s picture

Version: 6.2 » 7.x-dev

Well I might as well set this to 7.x then .. :) in case there's any enthusiasm for it..

dave reid’s picture

You could also check out the Statistics Advanced module.

dave reid’s picture

Status: Active » Closed (won't fix)

Marking as wont fix since there are contrib modules to do this. Please file separate issues for each enhancement so we're not lumping them together.

fgm’s picture

Project: Drupal core » Statistics
Version: 7.x-dev » 1.0.0
Component: statistics.module » Code
Issue summary: View changes
Status: Closed (won't fix) » Active

Re-enabling for consideration in contrib.