Skip to content

Commit f8f28f5

Browse files
authored
Add files via upload
Docs for telemetry and local audit
1 parent 391474f commit f8f28f5

1 file changed

Lines changed: 63 additions & 0 deletions

File tree

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Configure SQL Server on Linux to send feedback to Microsoft
2+
3+
By default, Microsoft SQL Server collects information about how its customers are using the application. Specifically, SQL Server collects information about the installation experience, usage, and performance. This information helps Microsoft improve the product to better meet customer needs. For example, Microsoft collects information about what kinds of error codes customers encounter so that we can fix related bugs, improve our documentation about how to use SQL Server, and determine whether features should be added to the product to better serve customers.
4+
5+
This document provides details about what kinds of information are collected and about how to configure Microsoft SQL Server on Linux to send that collected information to Microsoft. SQL Server 2017 includes a privacy statement that explains what information we do and do not collect from users. Please read the privacy statement.
6+
7+
Specifically, Microsoft does not send any of the following types of information through this mechanism:
8+
- Any values from inside user tables
9+
- Any logon credentials or other authentication information
10+
- Personally Identifiable Information (PII)
11+
12+
SQL Server 2017 always collects and sends information about the installation experience from the setup process so that we can quickly find and fix any installation problems that the customer is experiencing. SQL Server 2017 can be configured not to send information (on a per-server instance basis) to Microsoft through the SQL Server configuration file
13+
14+
> [!NOTE]
15+
> You can disable the sending of information to Microsoft only in paid versions of SQL Server. You cannot disable this functionality in Developer, Enterprise Evaluation, and Express editions of SQL Server 2016.
16+
17+
## Disable Customer Feedback
18+
The CustomerFeedback value in the SQL Server configuration file defines if SQL Server sends feedback to Microsoft. By default, this value is set to true. To change the value, run the following commands:
19+
20+
1. Navigate into the directory with the mssql.conf file:
21+
```bash
22+
sudo cd /var/opt/mssql/
23+
```
24+
2. Open the mssql.conf file in your favorite text editor.
25+
26+
3. Change the value of CustomerFeedback from true to false:
27+
28+
[Telemetry]
29+
30+
CustomerFeedback=false
31+
32+
4. Restart the SQL Server service:
33+
34+
```bash
35+
sudo systemctl restart mssql-server
36+
```
37+
38+
## Local Audit for SQL Server on Linux Usage Feedback Collection
39+
40+
Microsoft SQL Server 2017 contains Internet-enabled features that can collect and send information about your computer or device ("standard computer information") to Microsoft. The Local Audit component of [SQL Server Usage Feedback collection](link to Telemetry docs) can write data collected by the service to a designated folder, representing the data (logs) that will be sent to Microsoft. The purpose of the Local Audit is to allow customers to see all data Microsoft collects with this feature, for compliance, regulatory or privacy validation reasons.
41+
42+
In SQL Server on Linux, Local Audit is configurable at instance level for SQL Server Database Engine. Other SQL Server components and SQL Server Tools do not have Local Audit capability for usage feedback collection.
43+
44+
### Enable Local Audit
45+
The addition of a line to the SQL Server configuration file enables Local Audit. To enable Local Audit run the following commands:
46+
47+
1. Navigate into the directory with the mssql.conf file:
48+
```bash
49+
sudo cd /var/opt/mssql/
50+
```
51+
2. Open the mssql.conf file in your favorite text editor.
52+
53+
3. Add the following line under [Telemetry] changing the value of Userrequestedlocalauditdirectory to be the directory you want the files in.
54+
55+
[Telemetry]
56+
57+
Userrequestedlocalauditdirectory=/your/directory/
58+
59+
4. Restart the SQL Server service:
60+
61+
```bash
62+
sudo systemctl restart mssql-server
63+
```

0 commit comments

Comments
 (0)