You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

elastic.conf 1.3KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Please don't modify this file as your changes might be overwritten with
  2. # the next update.
  3. #
  4. # You can modify 'local.d/elastic.conf' to add and merge
  5. # parameters defined inside this section
  6. #
  7. # You can modify 'override.d/elastic.conf' to strictly override all
  8. # parameters defined inside this section
  9. #
  10. # See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
  11. # for details
  12. #
  13. # Module documentation can be found at https://rspamd.com/doc/modules/elastic.html
  14. elastic {
  15. # Push update when 10 records are collected (10 if unset)
  16. limit = 10;
  17. # IP:port of Elasticsearch server
  18. #server = "localhost:9200";
  19. # Timeout to wait for response (5 seconds if unset)
  20. timeout = 5;
  21. # Elasticsearch template file (json format)
  22. #template_file = "${SHAREDIR}/elastic/rspamd_template.json";
  23. # Kibana prebuild visualizations and dashboard template (json format)
  24. #kibana_file = "${SHAREDIR}/elastic/kibana.json";
  25. # Elasticsearch index name pattern
  26. index_pattern = "rspamd-%Y.%m.%d";
  27. # Dump debug information
  28. debug = false;
  29. # Import kibana template
  30. import_kibana = false;
  31. .include(try=true,priority=5) "${DBDIR}/dynamic/elastic.conf"
  32. .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/elastic.conf"
  33. .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/elastic.conf"
  34. }