Sumologic MS SQL Server App script
Hi, having issues with deploying the MS SQL Server App script - running the script in a RDP session works, i.e. we can see the script output in console. However, when viewed in sumologic search query, I can only see the following being logged repeatedly, but no actual perf data. Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) Windows Script Host Version 5.8 C:\MSSQL_Perf_Monitor_Script\Perf_Monitor_Script>cscript C:\MSSQL_Perf_Monitor_Script\Perf_Monitor_Script\MSSQL_Perf_Monitor_Script.vbs
-
I ran into something similar in PowerShell, and the solution was to use the Write-Output command for output, not Write-Host, as the SumoLogic collector seems to only capture the 'success' and 'error' output streams, and not any of the numerous other output streams that PowerShell generates.
Please sign in to leave a comment.
Comments
2 comments