PowerShell · SharePoint · SharePoint 2010 · SharePoint 2013 · SharePoint 2016

SharePoint 2010, 2013, 2016 – Monitor your SharePoint logs.


Quite a while ago I developed tool to monitor SharePoint logs. Since I developed this it’s been available for download on Codeplex. Recently I noticed that codeplex is going to shut down.

 

So I thought better move this solution to Github instead.

Before republishing this solution on Github I thought better test the solution as I hadn’t used it for quite a while.

So I updated the settings.xml

<Settings>
<Monitor Site=”http://myhost:8000/sites/ULSMonitor”&gt;
<Lists>
<List Name=”ULS” Url=”ULS” />
<List Name=”Actions” Url=”Actions” />
</Lists>
<Jobs>
<Job Name=”UpdateULSList” ExpireAfter=”2″ Frequency=”5″ >
<Alerts>
<Alert Type=”email” >
<Address From=”NoReply@mydev.local” To=”pieter.veenstra@mycorp.com” />
</Alert>
</Alerts>
</Job>
</Jobs>
</Monitor>
<SMTP Server=”myhost”>
</SMTP>
</Settings>

 

then I ran the MonitorULSLogs.ps1 in PowerShell ISE running as administrator  (otherwise you get “You need to have Machine administrator priviliges to run this cmdlet.” including the typo )

Wow, the solution even creates the lists that it needs if it can’t find them.

Once the lists have been created my SharePoint ULS logs are being picked up and reported on. So that is still working.

 

The ULS Monitor code and documentation  is now available at https://github.com/Pieter-Veenstra/ULS-Monitor. Feel free to use the solution and if you find any issues with the solution then please either report them in the issue list or create your own fork and contribute to this solution.

 

 

 

 

 

 

Advertisements

One thought on “SharePoint 2010, 2013, 2016 – Monitor your SharePoint logs.

Please leave a comment or feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s