Hello,
I want to capture logs + memory dumps of a process when the CPU usage of the process crosses say 30%.
Is there a way to setup SLLogCollector for the above requirement ? Or are there other ways to achieve this ?
Thank you.
Miguel Obregon [SLC] [DevOps Catalyst] Answered question 29th November 2024
Hi Arun,
I noticed that you can run the SLLogCollector via command line. You could use the Microsoft Platform element to achieve this:
- Create a correlation rule that will be triggered when an alarm assigned to the 'Total Processor Load' is higher than x%
- The correlation rule will trigger an automation script that will execute the SLLogCollector via command line
Hope it helps.
Martin Vrzba [DevOps Advocate] Posted new comment 29th November 2024
Hi Miguel,
Could you please provide an example with necessary arguments for the SLLogCollector executable to run autonomously?
Thank you.