You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/27 05:39:52 UTC

[GitHub] [apisix] bisakhmondal commented on a change in pull request #6212: feat(loggly): support http/s bulk sending for batch logs

bisakhmondal commented on a change in pull request #6212:
URL: https://github.com/apache/apisix/pull/6212#discussion_r793267767



##########
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:
       Nice. Thanks for the suggestion.
   Updated.




-- 
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-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org