Aug 23 2022 01:49 AM
Hello,
I trace mail with command: get-messagetrackinglog from 06/30/2022 to 07/31/2022 but return nothing. I checked in the directory containing the log, the log file still exists.
Why is there no result when I run the command?
Many Greetings and thanks for any hint.
Aug 23 2022 02:18 AM
Why to use the date as this format
Try to pass the date by using the Get-Date cmdlet
Get-MessageTrackingLog -Start (Get-Date).AddDays(-4) -End (Get-Date).AddDays(-1)
Aug 23 2022 02:58 AM - edited Aug 23 2022 02:59 AM
yes, before going into more detailed problems, would you run the command suggested by @farislaeb, and then make a query via a sender
Get-MessageTrackingLog -Sender email address removed for privacy reasons
Aug 23 2022 03:05 AM - edited Aug 23 2022 03:21 AM
@farismalaeb @cengizyilmaz The same. Still no results
Aug 23 2022 03:30 AM
Try Get-TransportServer | select MessageTracking* to see what the path is for you.
Get-TransportServer | select MessageTracking*
Have you restart your Exchange service and try to get the logs again?
Try to restart the Microsoft Exchange Transport Log Search service and Microsoft Exchange Active Directory Topology service manually.
Aug 23 2022 06:37 PM
Aug 24 2022 12:31 AM
Aug 24 2022 12:46 AM
@farismalaeb
I see .LOG file exist, but not enough .idx files in C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\MessageTracking\index.
Aug 24 2022 01:30 AM
Aug 24 2022 05:20 AM
You say the recordings are in the file, and Tracking Log doesn't find them. This is very interesting.
As a workaround, change the location of the message tracking log and restart Microsoft Exchange Active Directory Topology service.
Aug 24 2022 09:21 PM
Aug 26 2022 06:46 AM
@cengizyilmaz @Thai_Lam After i rename folder "index" and restart "Microsoft Exchange Transport Log Search", it only regenerates the index files in the last day.
How do i know it will work properly? Is there any way to regenerate previously lost index files?