SharePoint Server C: Drive Space is full because if Search logs. I want to move the search log files from C: Drive to E: Drive.
How can I move these logs without affecting the SharePoint system?
Thank you in advance.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
If you want to use serach index you can use this function (it is for sp2013 but should work as well for later ones, in any case it will give you idea how to do it in powershell ) https://gallery.technet.microsoft.com/office/Move-SharePoint-2013-242869e2
if you problem is with ULS logs follow this advice how to do it in PowerShell: https://www.techtask.com/moving-sharepoint-trace-and-usage-logs-using-powershell/
You can manually change the ULS logs location via Central Administration > Monitoring > Configure diagnostic logging > Trace Log Path.
The location you specify must exist on all servers in the farm.