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.
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.
Hi Martin,
I have a script that can trigger log collector on demand. You just need to create a correlation rule that will trigger the script when an event occurs (say if an alarm occurs).
Do let me know if you still need the script.
Hi Miguel,
Could you please provide an example with necessary arguments for the SLLogCollector executable to run autonomously?
Thank you.