6d72dad2c0
Incoming data is written to DBTableRaw without much interpretation. To allow for more and better analysis that raw data should be parsed daily and copied to another database table with separate fields for most header lines. All other scripts could use that pre-parsed data. * Add database schema to install.pl * Add DBTableParse to newsstats.conf.sample and as mandatory to NewsStats.pm * Add parsedb.pl TODO: - Documentation is only rudimentary. - From:, Sender:, Reply-To: and Subject: are not yet parsed. - gatherstats.pl does not yet use DbTableParse. Signed-off-by: Thomas Hochstein <thh@inter.net>
21 lines
318 B
Plaintext
21 lines
318 B
Plaintext
### database configuration
|
|
#
|
|
# driver, host, credentials and database
|
|
#
|
|
DBDriver = mysql
|
|
DBHost = localhost
|
|
DBUser =
|
|
DBPw =
|
|
DBDatabase = newsstats
|
|
#
|
|
# tables
|
|
#
|
|
DBTableRaw = raw_de
|
|
DBTableParse = parsed_de
|
|
DBTableGrps = groups_de
|
|
#DBTableClnts =
|
|
#DBTableHosts =
|
|
|
|
### hierarchy configuration
|
|
TLH = de
|