# ThousandEyes for OpenTelemetry Data Model v2 - Logs

## Supported Log Types

| **Log Type** | **Log Fields**                                                                                                                                                                  | **Specific Resource Attributes**                                                                                                                                                                 | **Specific Log Attributes**                                                                                                                                                                                                                         |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Activity Log | <ul><li><code>Body</code></li><li><code>Timestamp</code></li><li><code>ObservedTimestamp</code></li><li><code>SeverityText</code></li><li><code>SeverityNumber</code></li></ul> | <ul><li><code>thousandeyes.stream.id</code></li><li><code>thousandeyes.data.version</code></li><li><code>thousandeyes.account.id</code></li><li><code>thousandeyes.account.name</code></li></ul> | <ul><li><code>thousandeyes.user.id</code></li><li><code>thousandeyes.user.name</code></li><li><code>thousandeyes.user.email</code></li><li><code>thousandeyes.user.address</code></li><li><code>thousandeyes.activitylog.resources</code></li></ul> |

## Log Fields

| Name              | Description                       |
| ----------------- | --------------------------------- |
| Body              | The body of the log.              |
| Timestamp         | Time when the event occurred.     |
| ObservedTimestamp | Time when the event was observed. |
| SeverityText      | The log level.                    |
| SeverityNumber    | Numerical value of the severity.  |

## Attributes

### Common Resource Attributes

| **Key**                     | **Data Type** | **Description**                                                               |
| --------------------------- | ------------- | ----------------------------------------------------------------------------- |
| `thousandeyes.stream.id`    | String        | UUID of the integration used to route the data point to the external service. |
| `thousandeyes.account.id`   | String        | The ID of the account that the telemetry data is associated with.             |
| `thousandeyes.data.version` | String        | The version of the data model. Possible value: `v2`                           |

### Specific Resource Attributes

| **Key**                     | **Data Type** | **Description**                                                     |
| --------------------------- | ------------- | ------------------------------------------------------------------- |
| `thousandeyes.account.name` | String        | The name of the account that the telemetry data is associated with. |

### Specific Log Attributes

| **Key**                              | **Data Type** | **Description**                                                                                            |
| ------------------------------------ | ------------- | ---------------------------------------------------------------------------------------------------------- |
| `thousandeyes.user.id`               | String        | The ID of the user that performed the action tracked by the log.                                           |
| `thousandeyes.user.name`             | String        | The name of the user that performed the action tracked by the log.                                         |
| `thousandeyes.user.email`            | String        | The email of the user that performed the action tracked by the log.                                        |
| `thousandeyes.user.address`          | String        | The IP address of the user that performed the action tracked by the log.                                   |
| `thousandeyes.activitylog.resources` | String        | The comma-separated list of ThousandEyes Platform resources associated with the action tracked by the log. |
