From 303bbd9b786ad51122e919febad54f87a11c21d8 Mon Sep 17 00:00:00 2001 From: Jagadisha V <129049263+JV0812@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:56:48 +0530 Subject: [PATCH] Update troubleshooting.md --- docs/send-data/opentelemetry-collector/troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ```