Sha256: 4128586f625c24d92d4a95efe38a003d6b16602eb9269fd36055adae59669035
Contents?: true
Size: 446 Bytes
Versions: 35
Compression:
Stored size: 446 Bytes
Contents
# Search test logs returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V1::LogsAPI.new body = DatadogAPIClient::V1::LogsListRequest.new({ index: "main", query: "host:Test*", sort: DatadogAPIClient::V1::LogsSort::TIME_ASCENDING, time: DatadogAPIClient::V1::LogsListRequestTime.new({ from: (Time.now + -1 * 3600), timezone: "Europe/Paris", to: Time.now, }), }) p api_instance.list_logs(body)
Version data entries
35 entries across 35 versions & 1 rubygems