Custom deice Log Monitoring API - GET logs

Lists all the available logs on the specified custom device.

The request produces an application/json payload.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/entity/infrastructure/custom-devices/{customDeviceId}/logs
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/entity/infrastructure/custom-devices/{customDeviceId}/logs

Parameters

Parameter Type Description In Required
customDeviceId string

The entity ID of the required Custom Device.

path required

Response format

The result is a JSON, containing contains the array of objects, each representing a log.

  • For the default environment, the availableForAnalysis attribute is always set to true.
  • For upgraded Log Monitoring environments, the availableForAnalysis attribute is set to true when the stored log is ready for analysis.

The LogListForCustomDeviceResult object

Logs available on the Custom Device.

Element Type Description
logs LogForCustomDevice[]

The list of available logs.

The LogForCustomDevice object

The list of available logs.

Element Type Description
path string

The full path to the log.

availableForAnalysis boolean

The log is available (true) or not available (false) for analysis.