Log Analytics: Collect the output of OS command scripts as logs

Log Analytics now supports the continuous collection of the output of running OS command scripts on your Management Agent host in the form of logs. You can create a custom script and run it. The workflow involves creating a log source of the type OS command.

For steps, see Set Up OS Command Collection.