From c03c8a2c075d25ce161eccf1e38f2d65bc63ee60 Mon Sep 17 00:00:00 2001 From: Abhishek Choudhary Date: Thu, 26 Sep 2024 15:50:57 +0545 Subject: [PATCH] feat(splunk-logger): allow configuring keepalive_timeout --- apisix/plugins/splunk-hec-logging.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apisix/plugins/splunk-hec-logging.lua b/apisix/plugins/splunk-hec-logging.lua index 6aa88e298dbb..95aa7c739d97 100644 --- a/apisix/plugins/splunk-hec-logging.lua +++ b/apisix/plugins/splunk-hec-logging.lua @@ -51,6 +51,12 @@ local schema = { type = "integer", minimum = 1, default = 10 + }, + keepalive_timeout = { + type = "integer", + minimum = 1000, + default = 60000, + description = "keepalive timeout in milliseconds", } }, required = { "uri", "token" }