Sha256: 8fae5d6d28c07f3b9bc7db5412b5d359cadd5082893020a81f625051543f5807

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 KB

Contents

# DatadogAPIClient::V2::LogsQueryFilter

## Properties

| Name        | Type                    | Description                                                                                                    | Notes                                    |
| ----------- | ----------------------- | -------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| **from**    | **String**              | The minimum time for the requested logs, supports date math and regular timestamps (milliseconds).             | [optional][default to 'now-15m'] |
| **indexes** | **Array<String>** | For customers with multiple indexes, the indexes to search. Defaults to ['*'] which means all indexes. | [optional]                               |
| **query**   | **String**              | The search query - following the log search syntax.                                                            | [optional][default to '*']       |
| **to**      | **String**              | The maximum time for the requested logs, supports date math and regular timestamps (milliseconds).             | [optional][default to 'now']     |

## Example

```ruby
require 'datadog_api_client/v2'

instance = DatadogAPIClient::V2::LogsQueryFilter.new(
  from: now-15m,
  indexes: ["main","web"],
  query: service:web* AND @http.status_code:[200 TO 299],
  to: now
)
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.6.0 docs/v2/LogsQueryFilter.md