Sha256: 172fba1a8b79262981f9c175b33309fd4653a225b629419324fad3c7e8a4f6ce

Contents?: true

Size: 429 Bytes

Versions: 19

Compression:

Stored size: 429 Bytes

Contents

# Send 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_logs_returns_Response_from_server_always_200_empty_JSON_response",
    ddtags: "host:ExampleSendlogsreturnsResponsefromserveralways200emptyJSONresponse",
  }),
]
p api_instance.submit_log(body)

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
datadog_api_client-2.9.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-2.8.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-2.7.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-2.6.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-2.5.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-2.4.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-2.3.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-2.2.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-2.1.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-2.0.2 examples/v1/logs/SubmitLog.rb
datadog_api_client-2.0.1 examples/v1/logs/SubmitLog.rb
datadog_api_client-2.0.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-1.11.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-1.10.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-1.9.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-1.8.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-1.7.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-1.6.0 examples/v1/logs/SubmitLog.rb
datadog_api_client-1.5.0 examples/v1/logs/SubmitLog.rb