Class: DatadogAPIClient::V2::HistoricalJobQuery
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::HistoricalJobQuery
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/historical_job_query.rb
Overview
Query for selecting logs analyzed by the historical job.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#aggregation ⇒ Object
The aggregation type.
-
#distinct_fields ⇒ Object
Field for which the cardinality is measured.
-
#group_by_fields ⇒ Object
Fields to group by.
-
#has_optional_group_by_fields ⇒ Object
When false, events without a group-by value are ignored by the query.
-
#metrics ⇒ Object
Group of target fields to aggregate over when using the sum, max, geo data, or new value aggregations.
-
#name ⇒ Object
Name of the query.
-
#query ⇒ Object
Query to run on logs.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/historical_job_query.rb', line 45 def additional_properties @additional_properties end |
#aggregation ⇒ Object
The aggregation type.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/historical_job_query.rb', line 25 def aggregation @aggregation end |
#distinct_fields ⇒ Object
Field for which the cardinality is measured. Sent as an array.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/historical_job_query.rb', line 28 def distinct_fields @distinct_fields end |
#group_by_fields ⇒ Object
Fields to group by.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/historical_job_query.rb', line 31 def group_by_fields @group_by_fields end |
#has_optional_group_by_fields ⇒ Object
When false, events without a group-by value are ignored by the query. When true, events with missing group-by fields are processed with N/A
, replacing the missing values.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/historical_job_query.rb', line 34 def has_optional_group_by_fields @has_optional_group_by_fields end |
#metrics ⇒ Object
Group of target fields to aggregate over when using the sum, max, geo data, or new value aggregations. The sum, max, and geo data aggregations only accept one value in this list, whereas the new value aggregation accepts up to five values.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/historical_job_query.rb', line 37 def metrics @metrics end |
#name ⇒ Object
Name of the query.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/historical_job_query.rb', line 40 def name @name end |
#query ⇒ Object
Query to run on logs.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/historical_job_query.rb', line 43 def query @query end |