Attribute
An attribute is a name and value pair inside a single log, such as a JSON key or a value that a pipeline extracted from the message body. In the search bar you write it with an @ prefix, and it is treated as something separate from the tags a log gets from its host.
Overview
Logs that reach Datadog carry not only a message string but also named values such as http.status_code and network.client.ip. Each one of those is an attribute, and its value is kept with uppercase and lowercase distinguished. It is the concept to keep in mind when you are unsure whether to write @env or env: in the search bar, when teams give different names to the same value and the aggregation splits, and when you decide whether to copy an ingested value to a reserved attribute.
A name and value pair inside a single log
For JSON-formatted logs, each key and value pair becomes an attribute as is. Nested keys are referred to by a path joined with dots, such as network.client.ip (as of October 2026; Source: Attributes and Aliasing). For logs that are not JSON, a Processor in the pipeline extracts values from the message body and turns them into attributes. Log attributes are case-sensitive and do not go through normalization the way tags do (Source: Getting Started with Tags).
@env and env:prod are looking for different things
Writing @env:prod in the search bar looks for logs whose content has an attribute named env. Writing env:prod looks for tags that the log inherited from the host or an integration (as of October 2026; Source: Log Search Syntax). If the application writes env into its JSON and the collection settings also add an env tag, the same prod ends up in both an attribute and a tag. Tracing where the same prod comes from and what name it is called by looks like this.
- The application writes env into its JSON → it becomes an attribute of that log, and in the search bar you write
@env:prod(uppercase and lowercase stay distinguished) - env is added from the host or the collection settings → it becomes a tag, and in the search bar you write
env:prod(tags on metrics and spans are normalized to lowercase) - The reserved attributes service and trace_id → can be written without @, and serve as the clue for moving from logs to the same service or trace
- The host / service / env tags → let you match against metrics and traces with the same keys
The official documentation recommends not turning values that grow without limit, such as user IDs and request IDs, into tags; the reason is left to the Tag entry. In the author's view, values decided uniformly per host go in tags and values that change with each request go in attributes, so the two are kept in separate places.
Reserved attributes and standard attributes play different roles
Reserved attributes are attributes that Datadog treats specially at the time of ingestion. host, source, status, service, trace_id, and message fall into this group, and in search they can be written without @ (as of October 2026; Source: Attributes and Aliasing). What each one affects, and how to copy a value that arrived under a custom name, are left to Remapper. Standard attributes, on the other hand, are a naming convention for using the same name for values with the same meaning within an organization. The default list is divided by field with prefixes such as network, http, usr, dns, and evt, and administrators can add or modify entries. If reserved attributes are names whose meaning Datadog has fixed, standard attributes are names you decide on and align yourselves. A change to a standard attribute applies only to logs ingested after the change. You also cannot arrange standard attributes in a parent and child relationship, such as user and user.name.
Values whose names have split are gathered into one with aliasing
The IP of the same client can arrive under separate names such as clientIP, client_ip_address, and remote_address. The official documentation gives this very example (as of October 2026; Source: Attributes and Aliasing). When you set up Aliasing, the value also goes into the standard attribute while the original attribute is kept, so you can search by either name. Aliasing is applied after pipeline processing, and values whose type cannot be matched are not copied. It is recommended to build dashboards and saved views on the standard attribute side rather than on the alias source. Just searching for a string value does not require a facet, but attributes you want to filter by numeric size or range, and attributes you want to appear in autocomplete or as an axis for aggregation, are registered as a Facet (Source: Log Search Syntax).
How many logs carry only the old name?
With a query that excludes logs lacking an attribute, you can count how far the names have split. Writing @clientIP:* -@network.client.ip:* leaves the logs that carry only the old name and have no value in the standard attribute yet (Source for how to write the query: Log Search Syntax). A sender whose count does not drop to 0 is either missing from the aliasing settings, sending logs ingested before the alias was created, or sending values whose type did not match so the alias was skipped. One way to proceed is to write down the attribute names that appear in the filters of the dashboards you look at often, and count what remains under the old names with a query of the same form. If one sender remains, fix the name on the sender's side; if several remain, gather them with aliasing. Splitting the cases this way lets you choose the next task.