Sha256: 3a14cbd363c180e7b05cbd8fb06e78f564bc7fccdc18eb801b357bc8d39cd40a
Contents?: true
Size: 539 Bytes
Versions: 12
Compression:
Stored size: 539 Bytes
Contents
# Search events returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::EventsAPI.new body = DatadogAPIClient::V2::EventsListRequest.new({ filter: DatadogAPIClient::V2::EventsQueryFilter.new({ query: "datadog-agent", from: "2020-09-17T11:48:36+01:00", to: "2020-09-17T12:48:36+01:00", }), sort: DatadogAPIClient::V2::EventsSort::TIMESTAMP_ASCENDING, page: DatadogAPIClient::V2::EventsRequestPage.new({ limit: 5, }), }) opts = { body: body, } p api_instance.search_events(opts)
Version data entries
12 entries across 12 versions & 1 rubygems