View the Docs service audit report
Docs
service audit reportThese steps require that you have
Microsoft SQL
Server
and permissions to access it, and the Microsoft SQL Server Reporting
Services
are available. For more information, see your SQL Server
documentation or contact your SQL Server
administrator. - Make sure that the audit properties are enabled. For instructions, see Configure audit properties.
- Your environment has aMicrosoft SQL Serverand you have permissions to access it.
- TheMicrosoft SQL Serverhas theMicrosoft SQL Server Reporting Servicesavailable.
- WithSQL Serveradministrator permissions, in a browser, openMicrosoft SQL Server Reporting Services. By default, the web address ishttp://<SQL Server hostname>/reports
- Start theReport Builder.
- Create a new report.
- Create a data source connection. Specify the following fields:
- Namefield: Enter a descriptive name for the report (for example, docs_audit_report_date)
- Select Connection typedrop-down: SelectMicrosoft SQL Server.
- Connection stringfield: If required, enter a string that points to the Docs DB FSBAudit table.
- Design the query. Specify the following settings:
- Database viewcolumn: under Tables, select FSBAudit and AuditActionType.
- Select fieldssection: make a relationship between the two tables. Click ActionName > AutoDetect.
- Arrange fieldsscreen: arrange the fields to group the data and values to how you want them to display. For example, if you create a report that is based on the username, you would specify the following:
- Available fieldscolumn: selectActionPath.
- Row groupscolumn: selectUsernameto display the username that completes the action in the report.
- Valuescolumn: specify the values to display in the table (for example, action time, action type, and action path).
- ActionTimeprovides information for when the action occurred.
- ActionTypedetails the action (for example, accessing or downloading a file).
- ActionPathprovides the path to the file for which the action was completed.
- Save the settings and run the report. The report is saved to theMicrosoft SQL Server Reporting Services.
- Double-click the report that you want to view.