Who's Online
11 visitors online now
2 guests, 9 bots, 0 members
Support my Sponsor

Common troubleshooting step : SharePoint Analytics Reports empty 2013

1. Check if below jobs are running. When did they last run

Microsoft SharePoint Foundation Usage data Import

Microsoft SharePoint Foundation Usage data Processing

 

2. Lack of receivers for my analytics and page usage definitions

 

{

Add-PSSnapin Microsoft.SharePoint.PowerShell

}

$aud = Get-SPUsageDefinition | where {$_.Name -like “Analytics*”}

# if analytics usage definition receivers is empty then manually add back receiver

if($aud.Receivers.Count -eq 0)

{

$aud.Receivers.Add(“Microsoft.Office.Server.Search.Applications, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c”, “Microsoft.Office.Server.Search.Analytics.Internal.AnalyticsCustomRequestUsageReceiver”)

}

# if analytics usage definition receiver is not enabled then enable it

if($aud.EnableReceivers -eq $false)

{

$aud.EnableReceivers = $true

$aud.Update()

}

$aud | fl

$prud = Get-SPUsageDefinition | where {$_.Name -like “Page Requests”}

# if page requests usage definition receivers is empty then manually add back receiver

if($prud.Receivers.Count -eq 0)

{

$prud.Receivers.Add(“Microsoft.Office.Server.Search.Applications, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c”, “Microsoft.Office.Server.Search.Analytics.Internal.ViewRequestUsageReceiver”)

}

# if page requests usage definition receiver is not enabled then enable it

if($prud.EnableReceivers -eq $false)

{

$prud.EnableReceivers = $true

$prud.Update()

}

$prud | fl

 

 

Thanks to Brian :

 

http://geekswithblogs.net/bjackett/archive/2013/08/26/powershell-script-to-workaround-no-data-in-sharepoint-2013-usage.aspx

Leave a Reply