- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- SearchedResult
- ResultRow
- EventRecord
- Annotation
- StatsRecord
- StatsColumnData
- ColumnType
- ColumnValue
- ColumnValueList
- EntityContextRecord
- JoinRecord
- DataTableRecord
- SearchDataTableRowCell
- DetectionRecord
- ColumnNames
- ColumnSchema
- TableMetadata
- DataSource
Full name: projects.locations.instances.searchSessions.searchedResults.list
Retrieves results from a completed Search operation.
HTTP request
GET https://{endpoint}/v1alpha/{parent}/searchedResults
Where {endpoint} is one of the supported service endpoints.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent SearchSession resource name. Format: projects/{project}/locations/{location}/instances/{instance}/searchSessions/{searchSession} |
Query parameters
| Parameters | |
|---|---|
pageSize |
Optional. The maximum number of results to return. The service may return fewer. If unspecified, at most 100 results will be returned. The maximum value is 1000. |
pageToken |
Optional. A page token, received from a previous |
orderBy |
Optional. The column to sort the results on. Example: "eventTimestamp desc", "principal.hostname asc". Multi-columnar sorting is not supported. |
skip |
Optional. The number of results to skip before starting to return results. This field should not be used in conjunction with pageToken. |
Request body
The request body must be empty.
Response body
Response message for the searchedResults.list method. Next ID: 6
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "searchedResults": [ { object ( |
| Fields | |
|---|---|
searchedResults[] |
List of Searched Results. |
totalSize |
Total number of rows in the result set of the search query. |
columnNames |
List of column names for the outcome section of the query result. |
columnSchema |
Column schema for the results based on the query columns. Contains metadata like data source, eventName etc. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
chronicle.searchedResults.list
For more information, see the IAM documentation.
SearchedResult
SearchedResult contains the results of a Search operation. Next ID: 4
| JSON representation |
|---|
{
"name": string,
"resultRow": {
object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the search results. Format: projects/{project}/locations/{location}/instances/{instance}/searchSessions/{searchSession}/searchedResults/{searchedResult} |
resultRow |
Contains a flexible row which can support a standard UDM Event, Stats, Entity Context, Join result, Data Table, etc. |
ResultRow
ResultRow is a flexible collection that captures a search result row. It can currently support UDM Events, Entity Contexts, Data Tables, Join results, etc. and will support all other data sources in the future. Next ID: 8
| JSON representation |
|---|
{ "outcomes": [ { object ( |
| Fields | |
|---|---|
outcomes[] |
Outcome fields for an event specified in query request. |
Union field result. A result row of the search query. result can be only one of the following: |
|
eventRecord |
UDM event. |
statsRecord |
Stats record. |
entityContextRecord |
Entity context graph. |
joinRecord |
Join results. |
detectionRecord |
Detection. |
dataTableRecord |
Data table. |
EventRecord
EventRecord stores information about a UDM event. Next ID: 8
| JSON representation |
|---|
{ "event": { object ( |
| Fields | |
|---|---|
event |
The UDM Event. |
eventLogToken |
Raw log tokens mapped to the event. Can be used to locate the raw log entry that generated the event. A base64-encoded string. |
alertNumber |
If the event should be treated as an alert, the unique identifier for the alert. |
alertViewId |
Alert View specific Id. Helps create a link to Alert View. A base64-encoded string. |
annotations[] |
Annotations added to an event. |
detections[] |
Detections associated with an event. |
table |
User defined table name for the event in joins query. |
Annotation
Annotation for an event.
| Enums | |
|---|---|
ANNOTATION_UNSPECIFIED |
Unspecified - no annotation to display. |
ANNOTATION_ALERT |
Event is associated with one or more alerts. |
StatsRecord
StatsRecord contains a row in the response of a stats query. Next ID: 2
| JSON representation |
|---|
{
"results": [
{
object ( |
| Fields | |
|---|---|
results[] |
Contains all columns resulting from a stats query and one row of values. |
StatsColumnData
Represents a single column with a single cell in the set of columns returned as the stats query result. Next ID: 3
| JSON representation |
|---|
{
"column": string,
"values": {
object ( |
| Fields | |
|---|---|
column |
Used to store column names. |
values |
Store the values in a single column. |
ColumnType
Singular vs list of values in a single column. Next ID: 3
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field type. Store single value or list of values in a column. type can be only one of the following: |
|
value |
Single value in a column. |
list |
List of values in a column e.g. IPs. |
ColumnValue
Represents a single value in the set of values returned as the query result. Next ID: 11
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field value. Value of the column based on data type. value can be only one of the following: |
|
nullVal |
True if the value is NULL. |
boolVal |
Boolean value. |
bytesVal |
Bytes value. A base64-encoded string. |
doubleVal |
Double value. |
int64Val |
Integer value (signed). |
uint64Val |
Un-signed integer value. |
stringVal |
String value. Enum values are returned as strings. |
timestampVal |
Timestamp values. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
dateVal |
Date values. |
protoVal |
For any proto values that are not any of the above. An object containing fields of an arbitrary type. An additional field |
ColumnValueList
Store list of values for a single column. Next ID: 2
| JSON representation |
|---|
{
"values": [
{
object ( |
| Fields | |
|---|---|
values[] |
List of values in one cell of the column. |
EntityContextRecord
EntityContextRecord stores information about a entity context graph. Next ID: 5
| JSON representation |
|---|
{
"entity": {
object ( |
| Fields | |
|---|---|
entity |
The entity information to be retrieved with UDM ECG search. |
eventLogToken |
Raw log tokens mapped to the event that created the entity. This is only for entity context events. |
timed |
If the entity is timed or not. |
table |
User defined table name for the entity in joins query. |
JoinRecord
JoinRecord stores information about a join result. Next ID: 4
| JSON representation |
|---|
{ "events": [ { object ( |
| Fields | |
|---|---|
events[] |
The events that are joined. |
entities[] |
The entities that are joined. |
dataTables[] |
The data tables that are joined. |
DataTableRecord
DataTableRecord contains information about a Data table. Next ID: 3
| JSON representation |
|---|
{
"dataTable": string,
"cells": [
{
object ( |
| Fields | |
|---|---|
dataTable |
The resource name of the Data table. Format: projects/{projectId}/locations/{location}/instances/{instances}/dataTables/{dataTable} |
cells[] |
Stores information about a single row of a Data table. |
SearchDataTableRowCell
Contains a key-value pair of column name and its value. It represents a cell in the Data Table. Next ID: 3
| JSON representation |
|---|
{ "column": string, "value": string } |
| Fields | |
|---|---|
column |
The name of the column. |
value |
The value of the column. |
DetectionRecord
DetectionRecord stores information about a detection. Next ID: 3
| JSON representation |
|---|
{
"id": string,
"collection": {
object ( |
| Fields | |
|---|---|
id |
The ID of the detection. A base64-encoded string. |
collection |
The detection. |
ColumnNames
List of column names for the outcome section of the query result. Next ID: 2
| JSON representation |
|---|
{ "names": [ string ] } |
| Fields | |
|---|---|
names[] |
List of column names. |
ColumnSchema
Schema of the tables used in a query. Next ID: 2
| JSON representation |
|---|
{
"metadata": [
{
object ( |
| Fields | |
|---|---|
metadata[] |
Metadata about the tables used in the query. |
TableMetadata
Metadata about a table used in a query.
| JSON representation |
|---|
{
"table": string,
"dataSource": enum ( |
| Fields | |
|---|---|
table |
The alias of the table in the query. |
dataSource |
The type of data source. |
index |
The index of the table in the query. |
DataSource
The type of data source.
| Enums | |
|---|---|
DATA_SOURCE_UNSPECIFIED |
Unspecified data source. |
EVENTS |
UDM events. |
ENTITY_CONTEXT |
Entity context. |
DATA_TABLES |
Data tables. |
DETECTIONS |
Detections. |