12. Database
Prev | Appendix C. Configuration file syntax and options | Next

## 12. Database

Section heading:

[Database]

Entries:

SetDBHost= `db_host` — Host where the DB server runs (default: localhost). Should be numeric IP address for PostgreSQL.

SetDBName= `db_name` — Name of the database (default: samhain).

SetDBTable= `db_table` — Name of the database table (default: log).

SetDBUser= `db_user` — Connect as this user (default: samhain).

SetDBPassword= `db_password` — Use this password (default: none).

SetDBServerTstamp= `boolean` — Log server timestamp for client messages (default: true).

UsePersistent= `boolean` — Use a persistent connection (default: true).

AddToDBHash= `field` — Add a database field to the set of fields that are used for tagging the log record with an MD5 hash.

Prev | Up | Next
11. Logfile monitoring/analysis | Home | 13. Miscellaneous