You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: IDs of reference datasets used by this query.
37611
+
items:
37612
+
description: Dataset ID.
37613
+
type: string
37614
+
type: array
37594
37615
distinctFields:
37595
37616
description: Field for which the cardinality is measured. Sent as an array.
37596
37617
items:
@@ -37608,6 +37629,15 @@ components:
37608
37629
description: 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.
37609
37630
example: false
37610
37631
type: boolean
37632
+
index:
37633
+
description: Index used to load the data for this query.
37634
+
type: string
37635
+
indexes:
37636
+
description: Indexes used to load the data for this query. Mutually exclusive with `index`.
37637
+
items:
37638
+
description: Index name.
37639
+
type: string
37640
+
type: array
37611
37641
metrics:
37612
37642
description: 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.
37613
37643
items:
@@ -37621,6 +37651,9 @@ components:
37621
37651
description: Query to run on logs.
37622
37652
example: a > 3
37623
37653
type: string
37654
+
queryLanguage:
37655
+
description: Language used to parse the query string.
37656
+
type: string
37624
37657
type: object
37625
37658
HistoricalJobResponse:
37626
37659
description: Historical job response.
@@ -37654,6 +37687,10 @@ components:
37654
37687
modifiedAt:
37655
37688
description: Last modification time of the job.
37656
37689
type: string
37690
+
progressRate:
37691
+
description: Job execution progress as a value between 0 and 1. Omitted for finished jobs.
37692
+
format: double
37693
+
type: number
37657
37694
signalOutput:
37658
37695
description: Whether the job outputs signals.
37659
37696
type: boolean
@@ -43184,9 +43221,10 @@ components:
43184
43221
$ref: "#/components/schemas/CalculatedField"
43185
43222
type: array
43186
43223
cases:
43187
-
description: Cases used for generating job results.
43224
+
description: Cases used for generating job results. Up to 10 cases are allowed.
description: Starting time of data analyzed by the job.
@@ -43216,9 +43254,10 @@ components:
43216
43254
options:
43217
43255
$ref: "#/components/schemas/HistoricalJobOptions"
43218
43256
queries:
43219
-
description: Queries for selecting logs analyzed by the job.
43257
+
description: Queries for selecting logs analyzed by the job. Up to 10 queries are allowed.
43220
43258
items:
43221
43259
$ref: "#/components/schemas/HistoricalJobQuery"
43260
+
maxItems: 10
43222
43261
type: array
43223
43262
referenceTables:
43224
43263
description: Reference tables used in the queries.
@@ -43232,10 +43271,11 @@ components:
43232
43271
type: string
43233
43272
type: array
43234
43273
thirdPartyCases:
43235
-
description: Cases for generating results from third-party detection method. Only available for third-party detection method.
43274
+
description: Cases for generating results from third-party detection method. Only available for third-party detection method. Up to 10 cases are allowed.
description: Ending time of data analyzed by the job.
@@ -43257,6 +43297,12 @@ components:
43257
43297
JobDefinitionFromRule:
43258
43298
description: Definition of a historical job based on a security monitoring rule.
43259
43299
properties:
43300
+
caseIndex:
43301
+
description: Zero-based index of the rule case to use as the job's signal condition. When omitted, all cases are evaluated. Up to 10 cases are supported, so valid values are 0 to 9.
43302
+
format: int32
43303
+
maximum: 9
43304
+
minimum: 0
43305
+
type: integer
43260
43306
from:
43261
43307
description: Starting time of data analyzed by the job.
:param correlated_by_fields: Fields used to correlate results across queries in sequence detection rules.
110
+
:type correlated_by_fields: [str], optional
111
+
112
+
:param correlated_query_index: Zero-based index of the query to correlate with in sequence detection rules. Up to 10 queries are supported, so valid values are 0 to 9.
113
+
:type correlated_query_index: int, optional
114
+
115
+
:param custom_query_extension: Custom query extension used to refine the base query.
116
+
:type custom_query_extension: str, optional
117
+
75
118
:param data_source: Source of events, either logs, audit trail, security signals, or Datadog events. ``app_sec_spans`` is deprecated in favor of ``spans``.
:param dataset_ids: IDs of reference datasets used by this query.
122
+
:type dataset_ids: [str], optional
123
+
78
124
:param distinct_fields: Field for which the cardinality is measured. Sent as an array.
79
125
:type distinct_fields: [str], optional
80
126
@@ -84,6 +130,12 @@ def __init__(
84
130
:param has_optional_group_by_fields: 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.
:param index: Index used to load the data for this query.
134
+
:type index: str, optional
135
+
136
+
:param indexes: Indexes used to load the data for this query. Mutually exclusive with ``index``.
137
+
:type indexes: [str], optional
138
+
87
139
:param metrics: 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.
88
140
:type metrics: [str], optional
89
141
@@ -92,21 +144,40 @@ def __init__(
92
144
93
145
:param query: Query to run on logs.
94
146
:type query: str, optional
147
+
148
+
:param query_language: Language used to parse the query string.
0 commit comments