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
* Change entity multi_field text type to match_only_text (#2547)
Change the field type for multi_field values in entity from text to
match_only_text.
This change will match the multi_field type used for other similar fields in
other schema files, and will match the expected dynamic value in ecs@mappings.
* Fix entity generation (#2548)
Correctly add top-level entity fields to the generated files.
This also updates the make clean command to clean generated doc files.
* Update embedded semconv version to v1.37.0 (#2550)
Update the semconv version used with ECS to generate documentation to
semantic-conventions v1.37.0.
This will ensure that documentation is built with the latest semconv
version, and prepare ECS to work with more related fields.
|$$$field-container-network-egress-bytes$$$[container.network.egress.bytes](#field-container-network-egress-bytes)| The number of bytes (gauge) sent out on all network interfaces by the container since the last metric collection.<br><br>type: long | extended |
31
31
|$$$field-container-network-ingress-bytes$$$[container.network.ingress.bytes](#field-container-network-ingress-bytes)| The number of bytes received (gauge) on all network interfaces by the container since the last metric collection.<br><br>type: long | extended |
32
-
|$$$field-container-runtime$$$[container.runtime](#field-container-runtime)| Runtime managing this container.<br><br>type: keyword<br><br>example: `docker`<br><br>[](/reference/ecs-opentelemetry.md#ecs-opentelemetry-relation)[container.runtime](https://opentelemetry.io/docs/specs/semconv/attributes-registry/container/#container-runtime)| extended |
32
+
|$$$field-container-runtime$$$[container.runtime](#field-container-runtime)| Runtime managing this container.<br><br>type: keyword<br><br>example: `docker`<br><br>[](/reference/ecs-opentelemetry.md#ecs-opentelemetry-relation)[container.runtime.name](https://opentelemetry.io/docs/specs/semconv/attributes-registry/container/#container-runtime-name)| extended |
33
33
|$$$field-container-security-context-privileged$$$[container.security_context.privileged](#field-container-security-context-privileged)| Indicates whether the container is running in privileged mode.<br><br>type: boolean | extended |
Copy file name to clipboardExpand all lines: docs/reference/ecs-dns.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ DNS events should either represent a single DNS query prior to getting answers (
17
17
18
18
| Field | Description | Level |
19
19
| --- | --- | --- |
20
-
|$$$field-dns-answers$$$[dns.answers](#field-dns-answers)| An array containing an object for each answer section returned by the server.<br><br>The main keys that should be present in these objects are defined by ECS. Records that have more information may contain more keys than what ECS defines.<br><br>Not all DNS data sources give all details about DNS answers. At minimum, answer objects must contain the `data` key. If more information is available, map as much of it to ECS as possible, and add any additional fields to the answer objects as custom fields.<br><br>type: object<br><br>Note: This field should contain an array of values. | extended |
20
+
|$$$field-dns-answers$$$[dns.answers](#field-dns-answers)| An array containing an object for each answer section returned by the server.<br><br>The main keys that should be present in these objects are defined by ECS. Records that have more information may contain more keys than what ECS defines.<br><br>Not all DNS data sources give all details about DNS answers. At minimum, answer objects must contain the `data` key. If more information is available, map as much of it to ECS as possible, and add any additional fields to the answer objects as custom fields.<br><br>type: object<br><br>Note: This field should contain an array of values.<br><br>[](/reference/ecs-opentelemetry.md#ecs-opentelemetry-relation)[dns.answers](https://opentelemetry.io/docs/specs/semconv/attributes-registry/dns/#dns-answers)| extended |
21
21
|$$$field-dns-answers-class$$$[dns.answers.class](#field-dns-answers-class)| The class of DNS data contained in this resource record.<br><br>type: keyword<br><br>example: `IN`| extended |
22
22
|$$$field-dns-answers-data$$$[dns.answers.data](#field-dns-answers-data)| The data describing the resource.<br><br>The meaning of this data depends on the type and class of the resource record.<br><br>type: keyword<br><br>example: `10.10.10.10`| extended |
23
23
|$$$field-dns-answers-name$$$[dns.answers.name](#field-dns-answers-name)| The domain name to which this resource record pertains.<br><br>If a chain of CNAME is being resolved, each answer's `name` should be the one that corresponds with the answer's `data`. It should not simply be the original `question.name` repeated.<br><br>type: keyword<br><br>example: `www.example.com`| extended |
Copy file name to clipboardExpand all lines: docs/reference/ecs-entity.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,16 +17,17 @@ The entity fields provide a standardized way to represent and categorize differe
17
17
| --- | --- | --- |
18
18
|$$$field-entity-attributes$$$[entity.attributes](#field-entity-attributes)|_This field is beta and subject to change._ A set of static or semi-static attributes of the entity. Usually boolean or keyword field data types. Use this field set when you need to track static or semi-static characteristics of an entity for advanced searching and correlation of normalized values across different providers/sources and entity types.<br><br>type: object | extended |
19
19
|$$$field-entity-behavior$$$[entity.behavior](#field-entity-behavior)|_This field is beta and subject to change._ A set of ephemeral characteristics of the entity, derived from observed behaviors during a specific time period. Usually boolean field data type. Use this field set when you need to capture and track ephemeral characteristics of an entity for advanced searching, correlation of normalized values across different providers/sources and entity types.<br><br>type: object | extended |
20
-
|$$$field-entity-display_name$$$[entity.display_name](#field-entity-display_name)|_This field is beta and subject to change._ An optional field used when a pretty name is desired for entity-centric operations. This field should not be used for correlation with `*.name` fields for entities with dedicated field sets (e.g., `host`).<br><br>type: keyword<br><br>Multi-fields:<br><br>* entity.display_name.text (type: text) | extended |
20
+
|$$$field-entity-display-name$$$[entity.display_name](#field-entity-display-name)|_This field is beta and subject to change._ An optional field used when a pretty name is desired for entity-centric operations. This field should not be used for correlation with `*.name` fields for entities with dedicated field sets (e.g., `host`).<br><br>type: keyword<br><br>Multi-fields:<br><br>* entity.display_name.text (type: match_only_text) | extended |
21
21
|$$$field-entity-id$$$[entity.id](#field-entity-id)| A unique identifier for the entity. When multiple identifiers exist, this should be the most stable and commonly used identifier that: 1) persists across the entity's lifecycle, 2) ensures uniqueness within its scope, 3) is commonly used for queries and correlation, and 4) is readily available in most observations (logs/events). For entities with dedicated field sets (e.g., host, user), this value should match the corresponding *.id field. Alternative identifiers (e.g., ARNs values in AWS, URLs) can be preserved in the raw field.<br><br>type: keyword | core |
22
-
|$$$field-entity-last_seen_timestamp$$$[entity.last_seen_timestamp](#field-entity-last_seen_timestamp)|_This field is beta and subject to change._ Indicates the date/time when this entity was last "seen," usually based upon the last event/log that is initiated by this entity.<br><br>type: date | extended |
22
+
|$$$field-entity-last-seen-timestamp$$$[entity.last_seen_timestamp](#field-entity-last-seen-timestamp)|_This field is beta and subject to change._ Indicates the date/time when this entity was last "seen," usually based upon the last event/log that is initiated by this entity.<br><br>type: date | extended |
23
23
|$$$field-entity-lifecycle$$$[entity.lifecycle](#field-entity-lifecycle)|_This field is beta and subject to change._ A set of temporal characteristics of the entity. Usually date field data type. Use this field set when you need to track temporal characteristics of an entity for advanced searching and correlation of normalized values across different providers/sources and entity types.<br><br>type: object | extended |
24
24
|$$$field-entity-metrics$$$[entity.metrics](#field-entity-metrics)|_This field is beta and subject to change._ Field set for any fields containing numeric entity metrics. These use dynamic field data type mapping.<br><br>type: object | extended |
25
-
|$$$field-entity-name$$$[entity.name](#field-entity-name)|_This field is beta and subject to change._ The name of the entity. The keyword field enables exact matches for filtering and aggregations, while the text field enables full-text search. For entities with dedicated field sets (e.g., `host`), this field should mirrors the corresponding *.name value.<br><br>type: keyword<br><br>Multi-fields:<br><br>* entity.name.text (type: text) | core |
25
+
|$$$field-entity-name$$$[entity.name](#field-entity-name)|_This field is beta and subject to change._ The name of the entity. The keyword field enables exact matches for filtering and aggregations, while the text field enables full-text search. For entities with dedicated field sets (e.g., `host`), this field should mirrors the corresponding *.name value.<br><br>type: keyword<br><br>Multi-fields:<br><br>* entity.name.text (type: match_only_text) | core |
26
26
|$$$field-entity-raw$$$[entity.raw](#field-entity-raw)|_This field is beta and subject to change._ Original, unmodified fields from the source system. Usually flattened field data type. While the attributes field should be used for normalized fields requiring advanced queries, this field preserves all source metadata with basic search capabilities.<br><br>type: object | extended |
27
27
|$$$field-entity-reference$$$[entity.reference](#field-entity-reference)|_This field is beta and subject to change._ A URI, URL, or other direct reference to access or locate the entity in its source system. This could be an API endpoint, web console URL, or other addressable location. Format may vary by entity type and source system.<br><br>type: keyword | extended |
28
28
|$$$field-entity-source$$$[entity.source](#field-entity-source)|_This field is beta and subject to change._ The module or integration that provided this entity data (similar to event.module).<br><br>type: keyword | core |
29
-
|$$$field-entity-type$$$[entity.type](#field-entity-type)|_This field is beta and subject to change._ A standardized high-level classification of the entity. This provides a normalized way to group similar entities across different providers or systems. Example values: `bucket`, `database`, `container`, `function`, `queue`, `host`, `user`, `application`, `session`, etc.<br><br>type: keyword<br><br>example: `host`| core |
29
+
|$$$field-entity-sub-type$$$[entity.sub_type](#field-entity-sub-type)|_This field is beta and subject to change._ The specific type designation for the entity as defined by its provider or system. This field provides more granular classification than the type field. Examples: `aws_s3_bucket`, `gcp_cloud_storage_bucket`, `azure_blob_container` would all map to entity type `bucket`. `hardware` , `virtual` , `container` , `node` , `cloud_instance` would all map to entity type `host`.<br><br>type: keyword<br><br>example: `aws_s3_bucket`| extended |
30
+
|$$$field-entity-type$$$[entity.type](#field-entity-type)|_This field is beta and subject to change._ A standardized high-level classification of the entity. This provides a normalized way to group similar entities across different providers or systems. Example values: `bucket`, `database`, `container`, `function`, `queue`, `host`, `user`, `application`, `session`, etc.<br><br>type: keyword<br><br>Note: This field should contain an array of values.<br><br>**Important:** The field value must be one of the following:<br><br>bucket, database, container, function, queue, host, user, application, service, session<br><br>To learn more about when to use which value, visit the page [allowed values for entity.type](/reference/ecs-allowed-values-entity-type.md)<br> | core |
Copy file name to clipboardExpand all lines: docs/reference/ecs-gen_ai.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ This field group definition is based on the Gen AI namespace of the OpenTelemetr
36
36
|$$$field-gen-ai-response-finish-reasons$$$[gen_ai.response.finish_reasons](#field-gen-ai-response-finish-reasons)|_This field is beta and subject to change._ Array of reasons the model stopped generating tokens, corresponding to each generation received.<br><br>type: nested<br><br>example: `["stop", "length"]`<br><br>[](/reference/ecs-opentelemetry.md#ecs-opentelemetry-relation)[gen_ai.response.finish_reasons](https://opentelemetry.io/docs/specs/semconv/attributes-registry/gen-ai/#gen-ai-response-finish-reasons)| extended |
37
37
|$$$field-gen-ai-response-id$$$[gen_ai.response.id](#field-gen-ai-response-id)|_This field is beta and subject to change._ The unique identifier for the completion.<br><br>type: keyword<br><br>example: `chatcmpl-123`<br><br>[](/reference/ecs-opentelemetry.md#ecs-opentelemetry-relation)[gen_ai.response.id](https://opentelemetry.io/docs/specs/semconv/attributes-registry/gen-ai/#gen-ai-response-id)| extended |
38
38
|$$$field-gen-ai-response-model$$$[gen_ai.response.model](#field-gen-ai-response-model)|_This field is beta and subject to change._ The name of the model that generated the response.<br><br>type: keyword<br><br>example: `gpt-4-0613`<br><br>[](/reference/ecs-opentelemetry.md#ecs-opentelemetry-relation)[gen_ai.response.model](https://opentelemetry.io/docs/specs/semconv/attributes-registry/gen-ai/#gen-ai-response-model)| extended |
39
-
|$$$field-gen-ai-system$$$[gen_ai.system](#field-gen-ai-system)|_This field is beta and subject to change._ The Generative AI product as identified by the client or server instrumentation.<br><br>type: keyword<br><br>example: `openai`<br><br>[](/reference/ecs-opentelemetry.md#ecs-opentelemetry-relation)[gen_ai.system](https://opentelemetry.io/docs/specs/semconv/attributes-registry/gen-ai/#gen-ai-system)| extended |
39
+
|$$$field-gen-ai-system$$$[gen_ai.system](#field-gen-ai-system)|_This field is beta and subject to change._ The Generative AI product as identified by the client or server instrumentation.<br><br>type: keyword<br><br>example: `openai`<br><br>[](/reference/ecs-opentelemetry.md#ecs-opentelemetry-relation)[gen_ai.provider.name](https://opentelemetry.io/docs/specs/semconv/attributes-registry/gen-ai/#gen-ai-provider-name)| extended |
40
40
|$$$field-gen-ai-token-type$$$[gen_ai.token.type](#field-gen-ai-token-type)|_This field is beta and subject to change._ The type of token being counted.<br><br>type: keyword<br><br>example: `input; output`<br><br>[](/reference/ecs-opentelemetry.md#ecs-opentelemetry-relation)[gen_ai.token.type](https://opentelemetry.io/docs/specs/semconv/attributes-registry/gen-ai/#gen-ai-token-type)| extended |
41
41
|$$$field-gen-ai-tool-call-id$$$[gen_ai.tool.call.id](#field-gen-ai-tool-call-id)|_This field is beta and subject to change._ The tool call identifier.<br><br>type: keyword<br><br>example: `call_mszuSIzqtI65i1wAUOE8w5H4`<br><br>[](/reference/ecs-opentelemetry.md#ecs-opentelemetry-relation)[gen_ai.tool.call.id](https://opentelemetry.io/docs/specs/semconv/attributes-registry/gen-ai/#gen-ai-tool-call-id)| extended |
42
42
|$$$field-gen-ai-tool-name$$$[gen_ai.tool.name](#field-gen-ai-tool-name)|_This field is beta and subject to change._ Name of the tool utilized by the agent.<br><br>type: keyword<br><br>example: `Flights`<br><br>[](/reference/ecs-opentelemetry.md#ecs-opentelemetry-relation)[gen_ai.tool.name](https://opentelemetry.io/docs/specs/semconv/attributes-registry/gen-ai/#gen-ai-tool-name)| extended |
0 commit comments