17 Apr 2024 03:37 PM - last edited on 18 Apr 2024 08:13 AM by MaciejNeumann
Dear Gurus,
I need to build dashboards for critical process in certain sub-system that has been restarted for any reason
Is there a way to do this using a DQL or traditional queries.
These dashboard will build a good case for investigation by DEV teams. I need also to distinguish if
the restart happened by human or the process rebooted itself due to memory crash etc...
Any input via dashboard or API is much appreciated
Kind Regards
Marwan...
17 Apr 2024 11:27 PM - edited 17 Apr 2024 11:28 PM
Hi,
You can filter host events using DQL:
fetch dt.davis.events.snapshots
| filter dt.entity.host.name == "XXXXX"
This is just an example, you can filter by host / process / tag or other metadata to filter entities you are interested.
Best regards
27 Apr 2024 05:25 PM
Hi @MarwanC
Please check @Mizső answer for the same question
There is also an extension (v1) that utilize this API that attached to another reply in this thread.
HTH
Yos
30 Apr 2024 10:39 AM
Thanks Yosi. I thought Ext 1 is not advised to be used any more but thanks for sharing.
06 May 2024 03:21 PM
I would like to ask if anybody has encountered a way to find out exactly the name of the process that has been restarted. Currently in the old host view I see only a list of Java processes which were restarted as technology Java but it does not tell which process exactly. even on the DQL I used above I do not get data out. Any idea? (see screen shot). You help is much appreciated.