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

Can we get OneAgent restart info using DQL?

AK
Pro

Hi Folks,

I need some help, is it possible to get OneAgent restart info using DQL?

Regards,

AK

5 REPLIES 5

AK
Pro

Is it not possible?

Regards,

AK

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

I do not think that is possible.

Do you need some automation? What is your use case?

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

My use is just to see if OneAgent restart is done recently or not. Can oneagentwatchdog.log help?

Regards,

AK

Hi,

Ok, I had just understood you wanted to restart OneAgent launching a DQL query... Then, @MostafaHussein is already pointing you to DQL query to get that information.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Hi @AK,

yes you can, as you see in the following figures there's process restart events detected for process instance "dynatracesourcewmi.exe_MH". you can fetch it from dt.davis.events easily using the below DQL query

 

fetch dt.davis.events
| filter event.name == "Process restart" AND dt.entity.process_group_instance.name == "REPLACE_WITH_YOUR_PGI_NAME"

 

MostafaHussein_1-1731496673199.png

 

MostafaHussein_2-1731496751125.png

BR,
Mostafa Hussein.

Certified Dynatrace Professional | Certified Dynatrace Services - Observability | Dynatrace Partner yourcompass.ca

Featured Posts