Processes API - GET a process
This API is deprecated. Use the Monitored entities API instead. You can find more information about switching to the new API in the migration guide.
Gets the parameters of the specified process.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v1/entity/infrastructure/processes/{meIdentifier} |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/entity/infrastructure/processes/{meIdentifier} | |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/entity/infrastructure/processes/{meIdentifier} |
Authentication
To execute this request, you need an access token with DataExport
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
meIdentifier | string | The Dynatrace entity ID of the required process. | path | required |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | ProcessGroupInstance | Success |
Response body objects
The ProcessGroupInstance
object
Parameters of a process.
Element | Type | Description |
---|---|---|
agentVersions | AgentVersion[] | Versions of OneAgents currently running on the entity. |
azureHostName | string | - |
azureSiteName | string | - |
bitness | string | -
|
customizedName | string | The customized name of the entity |
discoveredName | string | The discovered name of the entity |
displayName | string | The name of the Dynatrace entity as displayed in the UI. |
entityId | string | The Dynatrace entity ID of the required entity. |
firstSeenTimestamp | integer | The timestamp of when the entity was first detected, in UTC milliseconds |
fromRelationships | object | - |
lastSeenTimestamp | integer | The timestamp of when the entity was last detected, in UTC milliseconds |
listenPorts | integer[] | - |
managementZones | EntityShortRepresentation[] | The management zones that the entity is part of. |
metadata | object | - |
modules | string[] | - |
monitoringState | MonitoringState | Defines the current monitoring state of an entity. |
softwareTechnologies | TechnologyInfo[] | - |
tags | TagInfo[] | The list of entity tags. |
toRelationships | object | - |
versionedModules | ProcessGroupInstanceModule[] | - |
The AgentVersion
object
Defines the version of the agent currently running on the entity.
Element | Type | Description |
---|---|---|
major | integer | The major version number. |
minor | integer | The minor version number. |
revision | integer | The revision number. |
sourceRevision | string | A string representation of the SVN revision number. |
timestamp | string | A timestamp string: format "yyyymmdd-hhmmss |
The EntityShortRepresentation
object
The short representation of a Dynatrace entity.
Element | Type | Description |
---|---|---|
description | string | A short description of the Dynatrace entity. |
id | string | The ID of the Dynatrace entity. |
name | string | The name of the Dynatrace entity. |
The MonitoringState
object
Defines the current monitoring state of an entity.
Element | Type | Description |
---|---|---|
actualMonitoringState | string | The current actual monitoring state on the entity.
|
expectedMonitoringState | string | The monitoring state that is expected from the configuration
|
restartRequired | boolean | Defines whether or not the process has to restarted to enable monitoring |
The TechnologyInfo
object
Element | Type | Description |
---|---|---|
edition | string | - |
type | string | - |
version | string | - |
The TagInfo
object
Tag of a Dynatrace entity.
Element | Type | Description |
---|---|---|
context | string | The origin of the tag, such as AWS or Cloud Foundry. Custom tags use the
|
key | string | The key of the tag. Custom tags have the tag value here. |
value | string | The value of the tag. Not applicable to custom tags. |
The ProcessGroupInstanceModule
object
Element | Type | Description |
---|---|---|
name | string | - |
version | string | - |
Response body JSON model
1{2 "agentVersions": [3 {4 "major": 1,5 "minor": 1,6 "revision": 1,7 "sourceRevision": "string",8 "timestamp": "string"9 }10 ],11 "azureHostName": "string",12 "azureSiteName": "string",13 "bitness": "32bit",14 "customizedName": "string",15 "discoveredName": "string",16 "displayName": "string",17 "entityId": "string",18 "firstSeenTimestamp": 1,19 "fromRelationships": {20 "isInstanceOf": [21 "string"22 ],23 "isNetworkClientOf": [24 "string"25 ],26 "isProcessOf": [27 "string"28 ]29 },30 "lastSeenTimestamp": 1,31 "listenPorts": [32 133 ],34 "managementZones": [35 {36 "description": "Dynatrace entity for the REST API example",37 "id": "6a98d7bc-abb9-44f8-ae6a-73e68e71812a",38 "name": "Dynatrace entity"39 }40 ],41 "metadata": {42 "adobe.em.env_type": [43 "string"44 ],45 "adobe.em.program": [46 "string"47 ],48 "adobe.em.service": [49 "string"50 ],51 "adobe.em.tier": [52 "string"53 ],54 "agentValueMetadata": {},55 "apacheConfigPaths": [56 "string"57 ],58 "apacheSparkMasterIpAddresses": [59 "string"60 ],61 "aspDotNetCoreApplicationPaths": [62 "string"63 ],64 "awsEcrImageAccountIds": [65 "string"66 ],67 "awsEcrImageRegions": [68 "string"69 ],70 "awsEcsCluster": [71 "string"72 ],73 "awsEcsContainerName": [74 "string"75 ],76 "awsEcsFamily": [77 "string"78 ],79 "awsEcsRevision": [80 "string"81 ],82 "awsLambdaFunctionNames": [83 "string"84 ],85 "awsRegions": [86 "string"87 ],88 "cassandraClusterNames": [89 "string"90 ],91 "catalinaBaseValues": [92 "string"93 ],94 "catalinaHomeValues": [95 "string"96 ],97 "cloudFoundryAppIds": [98 "string"99 ],100 "cloudFoundryAppNames": [101 "string"102 ],103 "cloudFoundryInstanceIndexes": [104 "string"105 ],106 "cloudFoundrySpaceIds": [107 "string"108 ],109 "cloudFoundrySpaceNames": [110 "string"111 ],112 "cloudfoundryMetadata": {},113 "coldfusionJvmConfigFiles": [114 "string"115 ],116 "commandLineArgs": [117 "string"118 ],119 "declarativeId": [120 "string"121 ],122 "dockerContainerIds": [123 "string"124 ],125 "dockerContainerImageNames": [126 "string"127 ],128 "dockerContainerImageVersions": [129 "string"130 ],131 "dockerContainerNames": [132 "string"133 ],134 "dotNetCommands": [135 "string"136 ],137 "dotnetCommandPath": [138 "string"139 ],140 "dynatraceClusterIds": [141 "string"142 ],143 "dynatraceNodeIds": [144 "string"145 ],146 "elasticSearchClusterNames": [147 "string"148 ],149 "elasticSearchNodeNames": [150 "string"151 ],152 "envVariables": {},153 "equinoxConfigPath": [154 "string"155 ],156 "executablePaths": [157 "string"158 ],159 "executables": [160 "string"161 ],162 "glassfishDomainNames": [163 "string"164 ],165 "glassfishInstanceNames": [166 "string"167 ],168 "googleAppEngineInstances": [169 "string"170 ],171 "googleAppEngineServices": [172 "string"173 ],174 "googleCloudInstanceId": [175 "string"176 ],177 "googleCloudInstanceRegion": [178 "string"179 ],180 "googleCloudProjects": [181 "string"182 ],183 "googleCloudRunService": [184 "string"185 ],186 "googleComputeEngineMetadata": {},187 "hostGroups": [188 "string"189 ],190 "hybrisBinDirectories": [191 "string"192 ],193 "hybrisConfigDirectories": [194 "string"195 ],196 "hybrisDataDirectories": [197 "string"198 ],199 "ibmApplid": [200 "string"201 ],202 "ibmCicsRegion": [203 "string"204 ],205 "ibmCtgName": [206 "string"207 ],208 "ibmImsConnectRegions": [209 "string"210 ],211 "ibmImsControlRegions": [212 "string"213 ],214 "ibmImsMessageProcessingRegions": [215 "string"216 ],217 "ibmImsSoapGwName": [218 "string"219 ],220 "ibmIntegrationNodeName": [221 "string"222 ],223 "ibmIntegrationServerName": [224 "string"225 ],226 "ibmJobName": [227 "string"228 ],229 "iisAppPools": [230 "string"231 ],232 "iisRoleNames": [233 "string"234 ],235 "javaJarFiles": [236 "string"237 ],238 "javaJarPaths": [239 "string"240 ],241 "javaMainClasses": [242 "string"243 ],244 "javaMainModules": [245 "string"246 ],247 "jbossHomes": [248 "string"249 ],250 "jbossModes": [251 "string"252 ],253 "jbossServerNames": [254 "string"255 ],256 "kubernetesAnnotations": {},257 "kubernetesBasePodNames": [258 "string"259 ],260 "kubernetesClusterId": [261 "string"262 ],263 "kubernetesContainerNames": [264 "string"265 ],266 "kubernetesFullPodNames": [267 "string"268 ],269 "kubernetesNamespaces": [270 "string"271 ],272 "kubernetesPodUids": [273 "string"274 ],275 "kubernetesRuleResult": [276 "string"277 ],278 "linkage": [279 "string"280 ],281 "mssqlInstanceName": [282 "string"283 ],284 "nodejsAppBaseDirectories": [285 "string"286 ],287 "nodejsAppNames": [288 "string"289 ],290 "nodejsScriptNames": [291 "string"292 ],293 "oracleSid": [294 "string"295 ],296 "phpScripts": [297 "string"298 ],299 "phpWorkingDirectories": [300 "string"301 ],302 "pluginMetadata": {},303 "rke2Type": [304 "string"305 ],306 "rubyAppRootPaths": [307 "string"308 ],309 "rubyScriptPaths": [310 "string"311 ],312 "ruleResult": [313 "string"314 ],315 "serviceNames": [316 "string"317 ],318 "softwareAgInstallRoot": [319 "string"320 ],321 "softwareAgProductPropertyName": [322 "string"323 ],324 "springBootAppName": [325 "string"326 ],327 "springBootProfileName": [328 "string"329 ],330 "springBootStartupClass": [331 "string"332 ],333 "tibcoBWEnginePropertyFilePaths": [334 "string"335 ],336 "tibcoBusinessWorksAppNodeName": [337 "string"338 ],339 "tibcoBusinessWorksAppSpaceName": [340 "string"341 ],342 "tibcoBusinessWorksCeAppName": [343 "string"344 ],345 "tibcoBusinessWorksCeVersion": [346 "string"347 ],348 "tibcoBusinessWorksDomainName": [349 "string"350 ],351 "tibcoBusinessWorksEnginePropertyFiles": [352 "string"353 ],354 "tibcoBusinessWorksHome": [355 "string"356 ],357 "varnishInstanceNames": [358 "string"359 ],360 "weblogicClusterNames": [361 "string"362 ],363 "weblogicDomainNames": [364 "string"365 ],366 "weblogicHomeValues": [367 "string"368 ],369 "weblogicNames": [370 "string"371 ],372 "websphereCellNames": [373 "string"374 ],375 "websphereClusterNames": [376 "string"377 ],378 "websphereLibertyServerName": [379 "string"380 ],381 "websphereNodeNames": [382 "string"383 ],384 "websphereServerNames": [385 "string"386 ],387 "zCodeModuleVersion": [388 "string"389 ]390 },391 "modules": [392 "string"393 ],394 "monitoringState": {395 "actualMonitoringState": "OFF",396 "expectedMonitoringState": "OFF",397 "restartRequired": true398 },399 "softwareTechnologies": [400 {401 "edition": "string",402 "type": "string",403 "version": "string"404 }405 ],406 "tags": [407 {408 "context": "AWS",409 "key": "string",410 "value": "string"411 }412 ],413 "toRelationships": {414 "isNetworkClientOf": [415 "string"416 ],417 "runsOnProcessGroupInstance": [418 "string"419 ]420 },421 "versionedModules": [422 {423 "name": "string",424 "version": "string"425 }426 ]427}
Example
In this example, the request gets the details of the Apache Web Server apache2 process, which has the ID of PROCESS_GROUP_INSTANCE-EC9688429EB24B6B.
The API token is passed in the Authorization header.
Curl
1curl -X GET \2 https://mySampleEnv.live.dynatrace.com/api/v1/entity/infrastructure/processes/PROCESS_GROUP_INSTANCE-EC9688429EB24B6B \3 -H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
Request URL
1https://mySampleEnv.live.dynatrace.com/api/v1/entity/infrastructure/processes/PROCESS_GROUP_INSTANCE-EC9688429EB24B6B
Response body
1{2 "entityId": "PROCESS_GROUP_INSTANCE-EC9688429EB24B6B",3 "displayName": "Apache Web Server apache2",4 "discoveredName": "Apache Web Server apache2",5 "firstSeenTimestamp": 1464951001104,6 "lastSeenTimestamp": 1545147232609,7 "tags": [],8 "fromRelationships": {9 "isProcessOf": [10 "HOST-5FD609AD6757BE7D"11 ],12 "isInstanceOf": [13 "PROCESS_GROUP-B34081EFF9E5F516"14 ]15 },16 "toRelationships": {17 "runsOnProcessGroupInstance": [18 "SERVICE-C3173FEB08025322",19 "SERVICE-443EACA6DCAEE651",20 "SERVICE-B8C88BAA442098CF"21 ]22 },23 "metadata": {24 "commandLineArgs": [25 "/usr/sbin/apache2 -k start"26 ],27 "executables": [28 "apache2"29 ],30 "executablePaths": [31 "/usr/sbin/apache2"32 ],33 "apacheConfigPaths": [34 "/etc/apache2/apache2.conf"35 ]36 },37 "softwareTechnologies": [38 {39 "type": "PHP",40 "edition": "Apache",41 "version": "5.5.9"42 },43 {44 "type": "APACHE_HTTPD",45 "edition": null,46 "version": "2.4.7"47 },48 {49 "type": "SQLITE",50 "edition": null,51 "version": null52 }53 ],54 "listenPorts": [55 80,56 44357 ],58 "bitness": "64bit",59 "modules": [60 "mod_auth_basic.c",61 "mod_authn_file.c",62 "mod_negotiation.c",63 "mod_dir.c",64 "mod_rewrite.c"65 ],66 "monitoringState": {67 "actualMonitoringState": "ON",68 "expectedMonitoringState": "ON",69 "restartRequired": false70 },71 "agentVersions": [72 {73 "major": 1,74 "minor": 157,75 "revision": 210,76 "timestamp": "20181213-075558",77 "sourceRevision": ""78 }79 ]80}
Response code
200