OnLink · Security and monitoring

Importing Dynatrace OneAgent host data into Assets

OnLink imports Dynatrace OneAgent host data into Jira Service Management Assets.

This article covers authentication, field mapping, pagination and filtering so only monitored hosts land in your Assets.

Why Dynatrace hosts belong in Assets

Hosts your MDM never sees

Servers, VMs and containers hosts carry OneAgent but no MDM profile. Dynatrace is often the only system that knows they exist.

Incidents linked to the right host

An agent opens a ticket against the Assets object Dynatrace maintains, with OS, IP and agent version already there.

Only monitored hosts

Filter at the API with availabilityState=MONITORED so decommissioned hosts never reach the CMDB.

The flow in four steps

OnLink connects to the Dynatrace environment API, fetches OneAgent host records as JSON, and maps the fields you choose to attributes on a JSM Assets object type. The flow is:

1. Prepare the Assets object type

Create or confirm the target Assets schema and object type (e.g., "Hosts").

2. Authenticate to Dynatrace

Configure an OnLink Assets Data Source that authenticates to Dynatrace with an API token.

3. Fetch sample OneAgent data

Point it at the OneAgents endpoint and fetch sample data.

4. Map and import

Map the JSON fields to Assets attributes and run the import.

OneAgent authentication

Dynatrace uses API tokens for authentication. A token has three dot-separated components:

				
					dt0s01.ST2EY72KQINMH574WMNVI7YN.G3DFPBEJYMODIDAEX454M7YWBUVEFOWKPRVMWFASS64NFH52PX6BNDVFFM572RZM
				
			

Generate the token in Dynatrace (see the Dynatrace API authentication docs) with this scope:

Scope
Purpose
oneAgents.read
Grants access to GET requests of the OneAgents API

In the OnLink data source configuration:

  1. Add an Assets Data Source.
  2. Set Authentication Type to Bearer Token and paste the Dynatrace token.
  3. Set Method to GET and the URL to your environment’s OneAgents endpoint:
				
					GET https://{your-environment-id}.live.dynatrace.com/api/v1/oneagents
				
			
  1. Set Response data path to hosts — the API wraps host records in a hosts array.
OnLink API token authentication settings for Dynatrace
OnLink: API token (Bearer) authentication for Dynatrace.
OnLink endpoint settings to get Dynatrace OneAgent hosts
OnLink: GET /api/v1/oneagents with response data path hosts.

Assets mapping

Once sample data is returned, map the JSON fields to your Assets object type attributes using OnLink mapping statements. Two statement types matter here:

  • key: — identifies the stable unique value used to match and update existing Assets objects. Always define exactly one.
  • map: — copies a JSON field into an Assets attribute.

Example mapping for OneAgent hosts:

Mapping
Purpose
key:entityId=Entity ID
Uses the Dynatrace entityId as the unique key so re-imports update rather than duplicate objects
map:displayName=Device Name
Maps the host display name to Device Name
map:osType=OS Type
Maps the operating system type
map:osVersion=OS Version
Maps the OS version
map:hypervisorType=Hypervisor Type
Maps the hypervisor type

Filter query

You usually don’t want every host Dynatrace has ever seen. The OneAgents endpoint supports query parameters to limit results server-side — see the OneAgent API parameter reference.

For example, to import only hosts that are currently monitored, add:

				
					availabilityState=MONITORED
				
			

Other useful filters include narrowing by management zone, network zone, or update status. Filtering at the API level keeps imports fast and avoids stale or decommissioned hosts landing in your CMDB.

OnLink endpoint with a filter query for Dynatrace OneAgent hosts
OnLink endpoint with an availabilityState=MONITORED filter for Dynatrace OneAgent hosts.

If you are looking to import data from Dynatrace OneAgent without any on-premise installation or Adapter client and completely managed within your Atlassian JSM instance, give OnLink a try.

Full step-by-step documentation: Dynatrace OneAgent to JSM Assets.

Syncing assets into JSM is really tough . . . until you use this app. This app allows you to connect with many different asset sources and significantly simplifies the sync process.
Alex Ortiz
Atlassian Community Leader · Marketplace review, Jun 2026
Import Dynatrace OneAgent hosts into Assets

No on-premise installation, no adapter client, completely managed inside your Atlassian JSM instance. Start a free trial of OnLink on the Atlassian Marketplace.

FAQ

oneAgents.read, which grants GET access to the OneAgents API. No write scopes are needed; OnLink only reads host data.

Anything in the OneAgents response: entityId, displayName, hostInfo.osType, hostInfo.osVersion, hostInfo.ipAddresses, agentVersion, availabilityState, managementZones and more. Nested values under hostInfo use dot notation.

Add availabilityState=MONITORED as a query parameter, or narrow by management zone, network zone or update status. Filtering server-side keeps imports fast and the CMDB clean.

No, as long as key:entityId=Entity ID is set. OnLink matches existing Assets objects on the Dynatrace entityId and updates them.

No. OnLink runs on Atlassian Forge and calls your Dynatrace environment API over HTTPS. Nothing to install or patch.

Yes. Key CrowdStrike Falcon hosts on hostname into the same object type for security coverage, and bring Snowflake records alongside for ownership and cost center. One app, one Assets schema. See how OnLink compares with single-source importers.

On this page

Dynatrace hosts in Assets

Start a free trial of OnLink on the Atlassian Marketplace. Dynatrace, CrowdStrike, Huntress, BigPanda and 100+ more in one app.

Try OnLink for Dynatrace OneAgent to JSM Assets

If you are looking to import data from Dynatrace OneAgent without any on-premise installation or adapter client, completely managed within your Atlassian JSM instance, give OnLink a try.

With Dynatrace host data in Assets, your team can: