Sha256: 5cd62978f08d5ce4ad16fadda1efd7a63580a6d74f6d3720a526e9e4412a31cd
Contents?: true
Size: 490 Bytes
Versions: 36
Compression:
Stored size: 490 Bytes
Contents
# Search logs returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V1::LogsAPI.new body = DatadogAPIClient::V1::LogsListRequest.new({ index: "retention-3,retention-15", query: "service:web* AND @http.status_code:[200 TO 299]", sort: DatadogAPIClient::V1::LogsSort::TIME_ASCENDING, time: DatadogAPIClient::V1::LogsListRequestTime.new({ from: "2020-02-02T02:02:02.202Z", to: "2020-02-20T02:02:02.202Z", }), }) p api_instance.list_logs(body)
Version data entries
36 entries across 36 versions & 1 rubygems