diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/modules.d/elastic.conf | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/conf/modules.d/elastic.conf b/conf/modules.d/elastic.conf index e4c70bc87..f815bc61d 100644 --- a/conf/modules.d/elastic.conf +++ b/conf/modules.d/elastic.conf @@ -25,7 +25,7 @@ elastic { use_keepalive = true; version = { autodetect_enabled = true; - autodetect_max_fail = 12; + autodetect_max_fail = 30; # override works only if autodetect is disabled override = { name = "opensearch"; @@ -35,8 +35,7 @@ elastic { limits = { max_rows = 500; # max logs in one bulk req to elastic and first reason to flush buffer to elastic max_interval = 60; # seconds, if first log in buffer older then interval - flush buffer - max_size = 5000000; # max symbols count in buffer, if reached - flush buffer, f.e: 5000000 ~= 10MB/normal-worker - max_fail = 3; + max_fail = 10; }; index_template = { managed = true; |