New Relic data dictionary

This data dictionary defines some of our default-reported data stored in NRDB and queryable via NRQL. This includes events like Transaction, MobileRequest, and BrowserInteraction, and our Metric, Log, and Span data types. These definitions are also available from our query builder UI by mousing over applicable data type and attribute names.

This dictionary doesn't contain:

  • Data from our infrastructure integrations (for that, see docs for a specific integration)
  • Custom data
  • Detailed integration-specific attributes for Metric data

UserAction

Data source:

The Browser UserAction event is captured as the result of a user interaction with the web application and includes action information and DOM target identifiers along with several default attributes, such as app and geographic data.

The types of interactions captured include:

  • auxclick
  • blur (window only)
  • click
  • copy
  • focus (window only)
  • keydown
  • paste
  • scrollend

Please see element events for more information about the type of events the agent subscribes to when capturing UserAction events.

Attribute nameDefinitionData types
action

The action performed by the end user.

actionCount

The number of times the matching action was seen.

actionDuration
milliseconds (ms)

The duration between the first and last event of the aggregation set.

actionMs

A stringified array of the MS timestamps relative to the origin point of the first observed event in the set.

appId
ID

The ID of your application, as recorded by New Relic.

appName

The name of the application that handled the request as shown in browser monitoring.

asn

Autonomous System Number: a unique number identifying a group of IP networks that serves the content to the end user.

asnLatitude

The latitude of the geographic center of the postal code where the Autonomous System Network is registered. This is not the end user's latitude.

asnLongitude

The longitude of the geographic center of the postal code where the Autonomous System Network is registered. This is not the end user's longitude.

asnOrganization

The organization that owns the Autonomous System Number. Often an ISP, sometimes a private company or institution.

city

The city in which the event occurred, such as Portland or Seattle.

countryCode

The country from which the browser initiated the page load. For a list of country codes, see ISO 3166-1 alpha-2.

currentUrl

The URL value at the time of observing the event. This URL may differ from the Page URL if soft navigations have occurred.

deviceType

The type of device that loaded the page: mobile, tablet, or desktop.

hasReplay

Indicates whether the event is associated with a session replay. If you already have custom dashboards, adding hasReplay = true to queries would allow you to search for a particular session of interest and watch the replay.

name

The name of the invoked web transaction. For example: Controller/customers/show.

pageUrl

The URL of the page that was loaded for the PageView, for example: http://www.newrelic.com. This URL does not include query parameters.

rageClick

A boolean flag indicating if the event qualifies as a "rage click" (repeated clicks on an element).

regionCode

The specific administrative division within a country where the PageView event occurred. In the United States, regions correspond to state codes, such as WA or NY. Outside the United States, a country's regions correspond to numerical codes.

In the United States, regions correspond to state codes ; for example, WA or NY. Outside the United States, a country's regions correspond to numerical codes .

session

A unique identifier for a single session. The session is tracked in browser storage using the Web Storage API, subject to each browser's implementation and handling. The session will automatically reset or refresh after a set period of inactivity or a pre-defined duration limit, whichever is less.

sessionTraceId
ID

Allows for linking together end user actions from session traces and querying across browser events. Not all browser events will have this. For example, PageView events complete before the first session trace harvest. Also, initial page loads from BrowserInteraction won't always include this.

target

The window, document or CSS selector path generated for the event.

targetClass

The value of the className property of the DOM target which was acted upon.

targetId

The value of the id property of the DOM target which was acted upon.

targetTag

The value of the tagName property of the DOM target which was acted upon.

targetType

The value of the type property of the DOM target which was acted upon.

timestamp

The time (date, hour, minute, second) at which the interaction occurred.

userAgentName

The browser’s name, such as Chrome and Firefox, obtained from the User-Agent header of an HTTP request.

userAgentOS

The browser’s reported operating system, such as Windows or Linux, that it is running on. This is obtained from the User-Agent header of an HTTP request.

userAgentVersion

The browser’s reported software version, which is obtained from the User-Agent header of an HTTP request.