Sha256: 5971bb70d541f110bdea1a75b8ddfd0357cfd9d3a29b64a93d5fb88f198b3547
Contents?: true
Size: 501 Bytes
Versions: 2
Compression:
Stored size: 501 Bytes
Contents
# Send gzip logs returns "Response from server (always 200 empty JSON)." response require "datadog_api_client" api_instance = DatadogAPIClient::V1::LogsAPI.new body = [ DatadogAPIClient::V1::HTTPLogItem.new({ message: "Example-Send_gzip_logs_returns_Response_from_server_always_200_empty_JSON_response", ddtags: "host:ExampleSendgziplogsreturnsResponsefromserveralways200emptyJSONresponse", }), ] opts = { content_encoding: ContentEncoding::GZIP, } p api_instance.submit_log(optsbody)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/v1/logs/SubmitLog_1920474053.rb |
datadog_api_client-1.6.0 | examples/v1/logs/SubmitLog_1920474053.rb |