spacewander commented on a change in pull request #6212: URL: https://github.com/apache/apisix/pull/6212#discussion_r793221388
########## File path: apisix/plugins/loggly.lua ########## @@ -232,13 +233,71 @@ local function send_data_over_udp(message) end +local function send_bulk_over_http(message, metadata, conf) + local endpoint = path.join(metadata.value.host, "bulk", conf.customer_token, "tag", "bulk") + local has_prefix = metadata.value.host:find("http") Review comment: Better to use https://github.com/apache/apisix/blob/615ee41312282ca2375abddae1d074637a901d89/apisix/core/string.lua#L46 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org