]> source.dussan.org Git - rspamd.git/commit
add support ES>=6.7 for elasctic module 2845/head
authorGauthier C <gc@ac-lille.fr>
Wed, 10 Apr 2019 12:52:18 +0000 (14:52 +0200)
committerGauthier C <gc@ac-lille.fr>
Wed, 10 Apr 2019 12:52:18 +0000 (14:52 +0200)
commit9837b17b32ba8a720a4e28981be98aa7830ff001
tree78633db693ef9545f3b07dc1f0414a3722b0a42e
parent9c0501a71445c93c82c38cbf10db601eff598049
add support ES>=6.7 for elasctic module

Since version 6.7.0 of ElasticSearch, the ingest-geoip plugin is
a module integrated into the solution.
Instead of detecting the version of ElasticSearch I added the
configuration parameter ingest_module which is false by default for
ElasticSearch versions < 6.7.0 and true for versions >= 6.7.0
src/plugins/lua/elastic.lua