aboutsummaryrefslogtreecommitdiffstats
path: root/conf/modules.d/elastic.conf
blob: 2eeb74fc6c7e298e941b3b8a0bd0d0c9f674a6b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
elastic {
  # Push update when 10 records are collected (10 if unset)
  limit = 10;
  # IP:port of Elasticsearch server
  #server = "localhost:9200";
  # Timeout to wait for response (5 seconds if unset)
  timeout = 5;
  # Elasticsearch template file (json format)
  #template_file = "${PLUGINSDIR}/elastic/rspamd_template.json";
  # Kibana prebuild visualizations and dashboard template (json format)
  #kibana_file = '${PLUGINSDIR}/elastic/kibana.json',
  # Elasticsearch index name pattern
  index_pattern = "rspamd-%Y.%m.%d";
  # Dump debug information
  debug = false;
  # Import kibana template
  import_kibana = false;
  .include(try=true,priority=5) "${DBDIR}/dynamic/elastic.conf"
  .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/elastic.conf"
  .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/elastic.conf"
}