diff --git a/docs/send-data/opentelemetry-collector/troubleshooting.md b/docs/send-data/opentelemetry-collector/troubleshooting.md index fe41e1fffb..e9b8a5414c 100644 --- a/docs/send-data/opentelemetry-collector/troubleshooting.md +++ b/docs/send-data/opentelemetry-collector/troubleshooting.md @@ -116,7 +116,7 @@ On systems without systemd, the logs are available in the console output of the On Windows, the logs are available in event viewer, or they can be listed using PowerShell: ```powershell -Get-EventLog -LogName Application -Newest 100 -Source OtelcolSumo | Select-Object -Property ReplacementStrings +Get-EventLog -LogName Application -Newest 100 -Source OtelcolSumo | Select-Object @{Name='TimeGenerated'; Expression={($_.TimeGenerated).ToString("yyyy-MM-dd HH:mm:ss")}}, ReplacementStrings | Format-Table -Wrap ```