I want to capture usage logging in a single server SharePoint 2016 in order to know which pages are being accessed and by which user. Nothing more and nothing less.
I went into Configure usage and health data collection under Central Administration and configured it a follows:
- Enable usage data collection: Enabled
- Events to log: Page requests
- Enable health data collection: originally disabled, but now selected
I wonder if enable health data collection should be selected? What is the implication of not having this selected? Would I still have the event(s) I selected (i.e. page requests) logged into the database?
If I click on log collection schedule and I then click on the jobs and choose to "run now", the job does not run. There is nothing in the job history to indicate that the job was run or not. All 3 jobs are enabled. View health reports gives me nothing. Also there are no errors or warnings reported at all.
What am I doing wrong?
EDIT1: I noticed that the "Usage and Health Data Collection Proxy" was stopped, so I managed to start it by following the instructions here (why was this stopped? bug?). Regardless I still can't seem to make those jobs run.
EDIT2: Upon further investigation, we found out the following error in the SharePoint ULS logs:
Job definition Microsoft.SharePoint.Administration.SPUsageImportJobDefinition, id aee32ef7-5eee-4a06-a40f-a46d9aade916 has no online instance for service Microsoft.SharePoint.Administration.SPUsageService, id ee820682-3a34-4d36-a05e-79135ee82a22, ignoring