Sha256: 0ff233ceb3f3a01e34bbcad83a25f78e3258e50bfee4e204282a11b00a20b88d

Contents?: true

Size: 334 Bytes

Versions: 21

Compression:

Stored size: 334 Bytes

Contents

# Get a quick list of logs returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::LogsAPI.new
opts = {
  filter_query: "datadog-agent",
  filter_index: "main",
  filter_from: "2020-09-17T11:48:36+01:00",
  filter_to: "2020-09-17T12:48:36+01:00",
  page_limit: 5,
}
p api_instance.list_logs_get(opts)

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
datadog_api_client-1.6.0 examples/v2/logs/ListLogsGet_2034110533.rb