Sha256: eb5744eddd86d189ef741909b98d4380c19ac94729508a9ec304335121fef23d
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V1::LogsAPI.new body = DatadogAPIClient::V1::LogsListRequest.new({ time: DatadogAPIClient::V1::LogsListRequestTime.new({ from: Time.parse("2020-02-02T02:02:02Z"), to: Time.parse("2020-02-02T20:20:20Z") }) }) # LogsListRequest | Logs filter begin # Search logs result = api_instance.list_logs(body) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling LogsAPI->list_logs: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v1/logs/ListLogs.rb |