Entity

An Entity provides additional context about an item in a UDM event. For example, a PROCESS_LAUNCH event describes that user 'abc@example.corp' launched process 'shady.exe'. The event does not include information that user 'abc@example.com' is a recently terminated employee who administers a server storing finance data. Information stored in one or more Entities can add this additional context.

JSON representation
 { 
 "metadata" 
 : 
 { 
 object (  EntityMetadata 
 
) 
 } 
 , 
 "entity" 
 : 
 { 
 object (  Noun 
 
) 
 } 
 , 
 "relations" 
 : 
 [ 
 { 
 object (  Relation 
 
) 
 } 
 ] 
 , 
 "additional" 
 : 
 { 
 object 
 } 
 , 
 "metric" 
 : 
 { 
 object (  Metric 
 
) 
 } 
 , 
 "risk_score" 
 : 
 { 
 object (  EntityRisk 
 
) 
 } 
 } 
Fields
entity

object ( Noun )

Noun in the UDM event that this entity represents.

relations[]

object ( Relation )

One or more relationships between the entity (a) and other entities, including the relationship type and related entity.

additional

object ( Struct format)

Important entity data that cannot be adequately represented within the formal sections of the Entity.

metric

object ( Metric )

Stores statistical metrics about the entity. Used if metadata.entity_type is METRIC.

risk_score

object ( EntityRisk )

Stores information related to the entity's risk score.

Relation

Defines the relationship between the entity (a) and another entity (b).

JSON representation
 { 
 "entity" 
 : 
 { 
 object (  Noun 
 
) 
 } 
 , 
 "entity_type" 
 : 
 enum (  EntityType 
 
) 
 , 
 "relationship" 
 : 
 enum (  Relationship 
 
) 
 , 
 "direction" 
 : 
 enum (  Directionality 
 
) 
 , 
 "uid" 
 : 
 string 
 , 
 "entity_label" 
 : 
 enum (  EntityLabel 
 
) 
 } 
Fields
entity

object ( Noun )

Entity (b) that the primary entity (a) is related to.

entity_type

enum ( EntityType )

Type of the related entity (b) in this relationship.

relationship

enum ( Relationship )

Type of relationship.

direction

enum ( Directionality )

Directionality of relationship between primary entity (a) and the related entity (b).

uid

string ( bytes format)

UID of the relationship.

A base64-encoded string.

entity_label

enum ( EntityLabel )

Label to identify the Noun of the relation.

Metric

Stores precomputed aggregated analytic data for an entity.

JSON representation
 { 
 "first_seen" 
 : 
 string 
 , 
 "last_seen" 
 : 
 string 
 , 
 "sum_measure" 
 : 
 { 
 object (  Measure 
 
) 
 } 
 , 
 "total_events" 
 : 
 string 
 , 
 "metric_name" 
 : 
 enum (  MetricName 
 
) 
 , 
 "dimensions" 
 : 
 [ 
 enum (  Dimension 
 
) 
 ] 
 , 
 "export_window" 
 : 
 string 
 } 
Fields
first_seen

string ( Timestamp format)

Timestamp of the first time the entity was seen in the environment.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .

last_seen

string ( Timestamp format)

Time stamp of the last time last time the entity was seen in the environment.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .

sum_measure

object ( Measure )

Sum of all precomputed measures for the given metric.

total_events

string ( int64 format)

Total number of events used to calculate the given precomputed metric.

metric_name

enum ( MetricName )

Name of the analytic.

dimensions[]

enum ( Dimension )

All group by clauses used to calculate the metric.

export_window

string ( int64 format)

Export window for which the metric was exported.

Measure

Describes the precomputed measure.

JSON representation
 { 
 "value" 
 : 
 number 
 , 
 "aggregate_function" 
 : 
 enum (  AggregateFunction 
 
) 
 } 
Fields
value

number

Value of the aggregated measure.

aggregate_function

enum ( AggregateFunction )

Function used to calculate the aggregated measure.

Create a Mobile Website
View Site in Mobile | Classic
Share by: