Package com.datadog.api.client.v2.model
Class HistoricalJobQuery
java.lang.Object
com.datadog.api.client.v2.model.HistoricalJobQuery
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class HistoricalJobQuery
extends Object
Query for selecting logs analyzed by the historical job.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCorrelatedByFieldsItem(String correlatedByFieldsItem) addDatasetIdsItem(String datasetIdsItem) addDistinctFieldsItem(String distinctFieldsItem) addGroupByFieldsItem(String groupByFieldsItem) addIndexesItem(String indexesItem) additionalFilters(String additionalFilters) addMetricsItem(String metricsItem) aggregation(SecurityMonitoringRuleQueryAggregation aggregation) correlatedByFields(List<String> correlatedByFields) correlatedQueryIndex(Long correlatedQueryIndex) customQueryExtension(String customQueryExtension) datasetIds(List<String> datasetIds) dataSource(SecurityMonitoringStandardDataSource dataSource) distinctFields(List<String> distinctFields) booleanReturn true if this HistoricalJobQuery object is equal to o.Additional filters appended to the query at evaluation time.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The aggregation type.Fields used to correlate results across queries in sequence detection rules.Zero-based index of the query to correlate with in sequence detection rules.Custom query extension used to refine the base query.IDs of reference datasets used by this query.Source of events, either logs, audit trail, security signals, or Datadog events.Field for which the cardinality is measured.Fields to group by.When false, events without a group-by value are ignored by the query.getIndex()Index used to load the data for this query.Indexes used to load the data for this query.Group of target fields to aggregate over when using the sum, max, geo data, or new value aggregations.getName()Name of the query.getQuery()Query to run on logs.Language used to parse the query string.groupByFields(List<String> groupByFields) inthashCode()hasOptionalGroupByFields(Boolean hasOptionalGroupByFields) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.queryLanguage(String queryLanguage) voidsetAdditionalFilters(String additionalFilters) voidsetAggregation(SecurityMonitoringRuleQueryAggregation aggregation) voidsetCorrelatedByFields(List<String> correlatedByFields) voidsetCorrelatedQueryIndex(Long correlatedQueryIndex) voidsetCustomQueryExtension(String customQueryExtension) voidsetDatasetIds(List<String> datasetIds) voidsetDataSource(SecurityMonitoringStandardDataSource dataSource) voidsetDistinctFields(List<String> distinctFields) voidsetGroupByFields(List<String> groupByFields) voidsetHasOptionalGroupByFields(Boolean hasOptionalGroupByFields) voidvoidsetIndexes(List<String> indexes) voidsetMetrics(List<String> metrics) voidvoidvoidsetQueryLanguage(String queryLanguage) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ADDITIONAL_FILTERS
- See Also:
-
JSON_PROPERTY_AGGREGATION
- See Also:
-
JSON_PROPERTY_CORRELATED_BY_FIELDS
- See Also:
-
JSON_PROPERTY_CORRELATED_QUERY_INDEX
- See Also:
-
JSON_PROPERTY_CUSTOM_QUERY_EXTENSION
- See Also:
-
JSON_PROPERTY_DATA_SOURCE
- See Also:
-
JSON_PROPERTY_DATASET_IDS
- See Also:
-
JSON_PROPERTY_DISTINCT_FIELDS
- See Also:
-
JSON_PROPERTY_GROUP_BY_FIELDS
- See Also:
-
JSON_PROPERTY_HAS_OPTIONAL_GROUP_BY_FIELDS
- See Also:
-
JSON_PROPERTY_INDEX
- See Also:
-
JSON_PROPERTY_INDEXES
- See Also:
-
JSON_PROPERTY_METRICS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_QUERY_LANGUAGE
- See Also:
-
-
Constructor Details
-
HistoricalJobQuery
public HistoricalJobQuery()
-
-
Method Details
-
additionalFilters
-
getAdditionalFilters
Additional filters appended to the query at evaluation time.- Returns:
- additionalFilters
-
setAdditionalFilters
-
aggregation
-
getAggregation
The aggregation type.- Returns:
- aggregation
-
setAggregation
-
customQueryExtension
-
getCustomQueryExtension
Custom query extension used to refine the base query.- Returns:
- customQueryExtension
-
setCustomQueryExtension
-
dataSource
-
getDataSource
Source of events, either logs, audit trail, security signals, or Datadog events.app_sec_spansis deprecated in favor ofspans.- Returns:
- dataSource
-
setDataSource
-
datasetIds
-
addDatasetIdsItem
-
getDatasetIds
IDs of reference datasets used by this query.- Returns:
- datasetIds
-
setDatasetIds
-
distinctFields
-
addDistinctFieldsItem
-
getDistinctFields
Field for which the cardinality is measured. Sent as an array.- Returns:
- distinctFields
-
setDistinctFields
-
groupByFields
-
addGroupByFieldsItem
-
getGroupByFields
Fields to group by.- Returns:
- groupByFields
-
setGroupByFields
-
hasOptionalGroupByFields
-
getHasOptionalGroupByFields
When false, events without a group-by value are ignored by the query. When true, events with missing group-by fields are processed withN/A, replacing the missing values.- Returns:
- hasOptionalGroupByFields
-
setHasOptionalGroupByFields
-
index
-
getIndex
Index used to load the data for this query.- Returns:
- index
-
setIndex
-
indexes
-
addIndexesItem
-
getIndexes
Indexes used to load the data for this query. Mutually exclusive withindex.- Returns:
- indexes
-
setIndexes
-
metrics
-
addMetricsItem
-
getMetrics
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.- Returns:
- metrics
-
setMetrics
-
name
-
getName
Name of the query.- Returns:
- name
-
setName
-
query
-
getQuery
Query to run on logs.- Returns:
- query
-
setQuery
-
queryLanguage
-
getQueryLanguage
Language used to parse the query string.- Returns:
- queryLanguage
-
setQueryLanguage
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- HistoricalJobQuery
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this HistoricalJobQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-