|
Configuring the eG Agent to Collect Usage Analytics
To configuring the eG Agent to Collect Usage Analytics, follow the below procedure:
Creating a SharePoint Usage and Health Service Application
To achieve this, follow the steps below:
Login to the target SharePoint server as a user with Farm administrator privileges.
Open the SharePoint management shell.
Then, run the following commands one after another:
Add-PSSnapin Microsoft.SharePoint.PowerShell
New-SPUsageApplication -Name “<Name_of_application>”
For example, your command can be:
Add-PSSnapin Microsoft.SharePoint.PowerShell
New-SPUsageApplication -Name “SharePointUsageApp”
If the command executes successfully, then your output will reveal the name of the application you created, the application type, and the application ID.
Next, open the SharePoint management console and follow the node sequence, Central Administration -> Application Management -> Manage service applications, on the console. In the Application Management screen that appears, click the Manage service applications option under Service Applications.
In the screen that appears next, look for an entry for the new Usage and Health application you created at step 3 above. If its available therein, it is a clear indicator that the new application has been created successfully.
Enabling Usage and Health Data Collection
To achieve this, follow the steps below:
In the SharePoint management console, select the Monitoring node under Central Administration. Then, click on the Configure usage and health data collection option under Reporting.
When the Monitoring page appears, select the Enable usage data collection checkbox therein.
Under the Events to log section in the Configure usage and health data collection page, make sure that the default selections are not disturbed.
Scroll down the Configure usage and health data collection page and then select the Enable health data collection check box that becomes visible.
Further, scroll down the Configure usage and health data collection page until the Database Server and the Database Name fields visible. Copy the values of these fields to a text editor. Make sure that the DATABASE SERVER and DATABASE NAME parameters of the analytics tests are configured with the copied values only.
|