summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/elastic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/elastic.lua')
-rw-r--r--src/plugins/lua/elastic.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua
index d613d335f..a223756e4 100644
--- a/src/plugins/lua/elastic.lua
+++ b/src/plugins/lua/elastic.lua
@@ -39,8 +39,8 @@ local enabled = true
local settings = {
limit = 500,
index_pattern = 'rspamd-%Y.%m.%d',
- template_file = rspamd_paths['PLUGINSDIR'] .. '/elastic/rspamd_template.json',
- kibana_file = rspamd_paths['PLUGINSDIR'] ..'/elastic/kibana.json',
+ template_file = rspamd_paths['SHAREDIR'] .. '/elastic/rspamd_template.json',
+ kibana_file = rspamd_paths['SHAREDIR'] ..'/elastic/kibana.json',
key_prefix = 'elastic-',
expire = 3600,
timeout = 5.0,