DBD2 Concepts

(Subtitle)


Home Page

DBD2 Concepts

Conceptual Operational Overview
Configuration Elements

DBD2 Sample Files

Glossary of Terms

External Links

DBD2 Project Site
Syslogd2 Project Site
SLP2 Project Site

Other References

RFC 3164 (The BSD Syslog Protocol)
RFC 3339 (Internet Time Format)
RFC 5424 (Syslog Version 1)

DBD2 Operational Overview

Top of page]

Before attempting to configure DBD2 or to go into details, understanding how DBD2 works and what it does is appropriate:

When the DBD2 server receives an incoming data string from the dbcl client (note the input string is a comma-separated list of name=value pairs):

template=y1z2, user=tom. jobid=j123, time=Mar 3 2023, ...

it first parses the list of name=value pairs. Most of the name + value pairs are stored for later reference, but one special pair with the name of 'template' is used immediately. In the example string, provided, the 'y1z2' value is read to mean that two database updates will be created from this one input:
(1) Database 'y' will be updated by processing its template-script number 1.
(2) Database 'z' will be updated by processing its template-script number 2.

For each template-script that is to be processed, a starting (empty) output-string is prepared with two pointers:
(1) An input pointer that points to the beginning of the database-template to be processed.
(2) An output pointer that points to the start of the (empty) output-string.
[Top of loop]



Configuration Elements

Top of page]

The overall structure of the configuration file is based on that of MariaDB with sections deliniated by section-headers in square brackets ('[ ]').

Many of the most important keywords in dbd2 actually define data mappings (a database term) that define relationships (or connections) between different variables.

Dbd2 configuration-file sections are of two types. There is one [global] section that uses the keyword 'global', and one or more output-sections with user-defined names.

In no particular order, the major components of an output-section are:


In no particular order, the primary components of the [global] section are: