From bcb16ab8612d3823d9f624c2d6e4b12cea4f160e Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 8 Sep 2011 21:14:06 +0000 Subject: Updated text of adhocquery to reflect new tables --- weblog-adhocquery-html.lsp | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'weblog-adhocquery-html.lsp') diff --git a/weblog-adhocquery-html.lsp b/weblog-adhocquery-html.lsp index a0e0f7d..69feb37 100644 --- a/weblog-adhocquery-html.lsp +++ b/weblog-adhocquery-html.lsp @@ -46,7 +46,7 @@ require("viewfunctions") <% displayformstart(form, page_info) %> This form accepts a Postgresql SELECT statement and displays the results. Examples: @@ -55,9 +55,9 @@ The available database tables and descriptions are listed below. <% displayformend(form) %>

Available Database Tables

-

PubWeblog and PubBlocklog

+

pubweblog and pubweblog_history

-These tables contain the combined squid access log and dansguardian log for every access and blocked access respectively. The definition of the table is as follows: +These tables contain the pre-purge and historical access logs respectively. The definition of the table is as follows:
 (
     sourcename character varying(40),
@@ -65,14 +65,21 @@ These tables contain the combined squid access log and dansguardian log for ever
     clientuserid character varying(64) NOT NULL,
     logdatetime timestamp(3) without time zone NOT NULL,
     uri text NOT NULL,
-    bytes integer NOT NULL,
+    bytes bigint NOT NULL,
     reason text,
     score integer,
-    shortreason text
+    shortreason text,
+    badyesno int,
+    deniedyesno int,
+    bypassyesno int,
+    wordloc text,
+    goodwordloc text,
+    selected boolean,
+    id int,
 )
 
-

dbHistLog

+

dbhistlog

This table contains the database history, including such information as which log files were loaded and how many entries they contained. The definition of the table is as follows:
@@ -82,7 +89,7 @@ This table contains the database history, including such information as which lo
 )
 
-

Source

+

source

This table contains the list of log file sources. The definition of the table is as follows:
@@ -97,7 +104,7 @@ This table contains the list of log file sources. The definition of the table is
 )
 
-

Usagestat

+

usagestat

This table contains a historical record of pages requested and blocked by hour. The definition of the table is as follows:
-- 
cgit v1.2.3