~shinken-dev/shinken/trunk

« back to all changes in this revision

Viewing changes to etc/modules/logstore_sqlite.cfg

  • Committer: naparuba
  • Date: 2013-07-17 15:03:35 UTC
  • Revision ID: git-v1:8bffb4fe67305a0be4ce50d1feab2416f950f95d
Enh: remove the Logstore modules from the core repo.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## Module:      logsqlite
2
 
## Loaded by:   Livestatus
3
 
# Put the Livestatus logs in an sqlite database, and so LS can query them.
4
 
define module {
5
 
    module_name     logsqlite
6
 
    module_type     logstore_sqlite
7
 
    database_file   /usr/local/shinken/var/livelogs.db
8
 
    # Prefer SQL queries if available instead of internal in-memory lookups
9
 
    # Some corner cases may return invalid or no data. Defaults to 0 if unset.
10
 
    #use_aggressive_sql      1   ; Set to 1 for large installations
11
 
    # Only use this module to read log. Useful if you load balance
12
 
    # your livestatus activity over severals livestatus broker module.
13
 
    # Defaults to 0 if unset
14
 
    #read_only       1 ; Read only logstore
15
 
    max_logs_age    3m  ; d = days, w = weeks, m = months, y = years
16
 
}