File-based export of report data (tab-delimited)

kbahey - August 25, 2008 - 22:15
Project:Devel
Version:6.x-1.x-dev
Component:devel
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

It would be nice if we are able to export the CSV data from the reports, so they can be analyzed in spreadsheets, generate charts and such ...

#1

kbahey - October 20, 2008 - 19:55
Project:Performance Logging and Monitoring» Devel
Version:5.x-1.x-dev» 6.x-1.x-dev
Component:Code» performance

Moving to devel queue, since the module is now part of that.

#2

alanburke - October 21, 2008 - 08:45

Hmmm,

Perhaps Views integration would be a useful path to go down.

If the performance module exposed its data to views, then perhaps administrator could generate their own custom reports [filter by time range etc].

There is a CSV export component in the Views Bonus Pack, but that module isn't ported to D6 yet.
#237196: Drupal 6 version of Views Bonus Pack?

Alan

#3

kbahey - October 21, 2008 - 15:01

No. This is more dependencies, and hence more bloat.

I was thinking of something more minimalistic.

Something like how profile csv does it http://drupal.org/project/profile_csv

#4

EvanDonovan - November 3, 2009 - 00:34

I would like to see this as well. I may have a patch up soon. I think that the Drupal for Firebug module has some code that I can base my technique off of.

#5

EvanDonovan - November 4, 2009 - 23:07
Title:CSV export of report data» File-based export of report data (tab-delimited)
Status:active» needs review

Here's a patch that exports the data as a tab-delimited file. It's made against the 6.x-1.16 version. I couldn't use the CSV format because the queries have commas in them.

I've started using it to analyze the data from my 6.x site in MS Access & am coming up with fascinating conclusions. Apparently, drupal_get_path() queries are around 41% of the page request for me.

AttachmentSize
devel-logging.patch 4.04 KB

#6

EvanDonovan - November 5, 2009 - 22:58

I just tested my patch against 6.x-1.8 and it succeeds, though there's an offset.

#7

EvanDonovan - November 30, 2009 - 23:23
Component:performance» devel

Has anyone had a chance to look at this? I think it would be a very useful feature.

 
 

Drupal is a registered trademark of Dries Buytaert.