Can we get OneAgent restart info using DQL?

Hi Folks,

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

Regards,

AK

Is it not possible?

Regards,

AK

Hi,

I do not think that is possible.

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

Best regards

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

Regards,

AK

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"

BR,
Mostafa Hussein.

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