cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Deployment changed data

Babar_Qayyum
DynaMight Guru
DynaMight Guru

Dear All,

What is the process for obtaining updated deployment data for the past week or month, including all property details such as entity name, description, event label, and so forth?

Babar_Qayyum_0-1729767099544.png

Regards,

Babar

4 REPLIES 4

Peter_Youssef
Champion

Hello @Babar_Qayyum 

PFA steps via Environment API v2

2024-10-24_16h03_33.png

2024-10-24_16h07_27.png

2024-10-24_16h11_32.png

Hoping it's beneficial.

BR, 

Peter.

Babar_Qayyum
DynaMight Guru
DynaMight Guru

Hello @Peter_Youssef 

Thank you for your contribution. I am seeking detailed information on environment-level entities related to the event type DEPLOYMENT_CHANGED_CHANGEDEPLOYMENT_CHANGED_NEW, DEPLOYMENT_CHANGED_REMOVED, as specified in the initial discussion. The required details include the entity name, description, path, and label. So we can generate a weekly or monthly Excel reports.

Regards,

Babar

Fin_Ubels
Dynatrace Champion
Dynatrace Champion

Hey @Babar_Qayyum 

Just tested this and the details should be accessible with DQL (assuming this is on SaaS). To see the events you can query for the events and filter for the type required.

fetch events
| filter event.type == "DEPLOYMENT_CHANGED_CHANGE" or event.type == "DEPLOYMENT_CHANGED_NEW" or event.type == "DEPLOYMENT_CHANGED_REMOVED"

Within the events there is a wealth of information including entity IDs allowing you to look up many other attributes as required.

Fin_Ubels_0-1730074537805.png

On managed unfortunately I'm not too familiar but there is an API for listing events which contains robust filters. Docs for which can be found here. Looking into event types supported it seems to include the deployment change events.

Hope the above is what you're after!

 

Hello @Fin_Ubels 

Thank you for the information provided. We operate under a managed setup, and despite my attempts with the available APIs, I was unable to achieve the desired results.

Regards,

Babar

Featured Posts