Any ideas how to display SharePoint log and SharePoint event viewer log on the web site?

I need to trace logs without access SharePoint server


  • easier said than done, since it's multiple text files spread out across (potentially) multiple servers. This is assuming on-prem SharePoint of course. – Derek Gusoff Dec 6 '16 at 14:18

Since the beginning of the year there is no way to do it anymore. Microsoft changed that so you need to contact them to get the required information. The best way will be to contact Microsoft Support.

Sorry :(

but in SharePoint 2013 you can use this function:

var entries = new SPULSRetriever(forwardCheckTimeInMinutes, maxEntries, DateTime startTime);
| improve this answer | |
  • Thanks macro, what about sharepoint server? I am using sharepoint on premises – Sophie Douglas Dec 7 '16 at 21:06
  • are you using sharepoint 2013?? for 2010 the answer is diferente – Marco Dec 7 '16 at 21:43
  • Yes, It is 2013 – Sophie Douglas Dec 8 '16 at 18:24
  • I edit my answer – Marco Dec 9 '16 at 12:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.