# DatadogAPIClient::V1::FormulaAndFunctionEventQueryDefinition ## Properties | Name | Type | Description | Notes | | --------------- | ----------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | ---------- | | **compute** | [**FormulaAndFunctionEventQueryDefinitionCompute**](FormulaAndFunctionEventQueryDefinitionCompute.md) | | | | **data_source** | [**FormulaAndFunctionEventsDataSource**](FormulaAndFunctionEventsDataSource.md) | | | | **group_by** | [**Array<FormulaAndFunctionEventQueryGroupBy>**](FormulaAndFunctionEventQueryGroupBy.md) | Group by options. | [optional] | | **indexes** | **Array<String>** | An array of index names to query in the stream. Omit or use `[]` to query all indexes at once. | [optional] | | **name** | **String** | Name of the query for use in formulas. | | | **search** | [**FormulaAndFunctionEventQueryDefinitionSearch**](FormulaAndFunctionEventQueryDefinitionSearch.md) | | [optional] | ## Example ```ruby require 'datadog_api_client/v1' instance = DatadogAPIClient::V1::FormulaAndFunctionEventQueryDefinition.new( compute: null, data_source: null, group_by: null, indexes: ["days-3","days-7"], name: query_errors, search: null ) ```