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-2.12.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.11.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.10.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.9.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.8.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.7.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.6.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.5.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.4.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.3.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.2.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.1.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.0.2 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.0.1 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-2.0.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-1.11.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-1.10.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-1.9.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-1.8.0 examples/v2/logs/ListLogsGet_2034110533.rb
datadog_api_client-1.7.0 examples/v2/logs/ListLogsGet_2034110533.rb