Sha256: ed9691bc06ed38344ccfa3cff9eca890d6064fcc8b7fddf9b7c7633358f637a3

Contents?: true

Size: 967 Bytes

Versions: 7

Compression:

Stored size: 967 Bytes

Contents

# DatadogAPIClient::V2::LogsQueryFilter

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **from** | **String** | The minimum time for the requested logs, supports date math and regular timestamps | [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 | [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

7 entries across 7 versions & 1 rubygems

Version Path
datadog_api_client-1.4.0 docs/v2/LogsQueryFilter.md
datadog_api_client-1.3.0 docs/v2/LogsQueryFilter.md
datadog_api_client-1.2.0 docs/v2/LogsQueryFilter.md
datadog_api_client-1.1.0 docs/v2/LogsQueryFilter.md
datadog_api_client-1.0.0 docs/v2/LogsQueryFilter.md
datadog_api_client-1.0.0.beta.3 docs/v2/LogsQueryFilter.md
datadog_api_client-1.0.0.beta.2 docs/v2/LogsQueryFilter.md