From bcc4e26d8c695ab30fb3e4037fd116dac17bb06d Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Mon, 14 Oct 2024 14:49:31 +0200 Subject: align conf and module settings in lua --- src/plugins/lua/elastic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua index b117d6e4c..66199db78 100644 --- a/src/plugins/lua/elastic.lua +++ b/src/plugins/lua/elastic.lua @@ -80,7 +80,7 @@ local settings = { } }, limits = { - max_rows = 1000, -- max logs in one bulk req to elastic and first reason to flush buffer + max_rows = 500, -- max logs in one bulk req to elastic and first reason to flush buffer 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, -- cgit v1.2.3