Hi,
We need to collect Exchange Message Tracking logs (2013) which are logged to flat files similar to IIS. The challenge I have is the filename convention is:
MSGTRKyyyymmdd-nnnn.logI understand from the reference documentation, wildcards cannot be used on Windows systems. But strftime parameters are supported. How can I collect these logs in via agent.conf centralised configuration? The below results in an error from bin/verify-agent-conf, I suppose due to the wildcard (although it can't know if this source is Windows/Linux at this stage!)
<agent_config name="exsrv1|exsrv2|exsrv3">
<localfile>
<log_format>syslog</log_format>
<location>C:\Program Files/Microsoft/Exchange Server/V15/TransportRoles/Logs/MessageTracking/MSGTRK%Y%m%d-*.log</location>
</localfile>
</agent_config>
https://technet.microsoft.com/en-us/library/bb124375(v=exchg.150).aspxI don't believe the filename can be defined from within Exchange. So other than a local Scheduled Task script to rename them, I am at a loss.
Any suggestions?
Thanks,
James