You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: elastic-stack-setup/elastic-stack-setup-03-audit.md
+72-5Lines changed: 72 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,69 @@ After installing the required Elastic components for Data Grid Audit, the integr
11
11
> * Before upgrading to Elasticsearch 8.x or 9.x, the `ESIndexCreationSetting` may need to be updated. For details, refer to the [Instance setting Details](https://help.relativity.com/Server2024/Content/System_Guides/Instance_Setting_Guide/Instance_setting_descriptions.htm#ESIndexCreationSettings).
12
12
> * Always verify the minimum required Elasticsearch version in your specific release bundle, as it may differ from the versions mentioned here.
13
13
14
-
### Prerequisites
14
+
### Prerequisites
15
15
16
16
1. Install the mapper-size plugin on all nodes in the Elasticsearch cluster (instructions available [here](https://www.elastic.co/guide/en/elasticsearch/plugins/current/mapper-size.html)). The Elasticsearch service must also be restarted after installing the plugin.
17
17
18
-
2. The Server-bundle zip file has been downloaded and extracted to `C:\Server.Bundle.x.y.z'
19
-
18
+
2. The Server-bundle zip file has been downloaded and extracted to `C:\Server.Bundle.x.y.z`
19
+
20
20
3. Verify that the InfraWatch Services application is installed in the Relativity instance (this RAP is delivered as part of the base Relativity Server 2024 installation package).
21
21
22
+
4.**Network accessibility from the SQL Primary server** — The CLI runs on the SQL Primary server and makes outbound HTTPS connections to both Relativity and Elasticsearch. Before running the CLI, verify that both endpoints are reachable from the SQL Primary server:
Both must return `TcpTestSucceeded : True` before proceeding. If either fails, resolve the network or firewall issue before continuing.
30
+
31
+
5.**SSL/TLS certificate trust** — The SSL certificates for both Relativity (Kepler) and Elasticsearch must be trusted on the SQL Primary server. This is one of the most common causes of CLI setup failure, particularly when certificates are self-signed, issued by a private CA, or issued to a hostname that differs from the one provided as the URL input.
32
+
33
+
**Relativity (Kepler) SSL certificate:**
34
+
- The Kepler SSL certificate must be trusted on the SQL Primary server, and must be issued to the same hostname you provide as the Relativity instance URL. A mismatch between the certificate hostname and the URL will cause SSL validation to fail even if the certificate itself is valid.
- The Elasticsearch cluster certificate must be trusted on the SQL Primary server.
42
+
- To verify from the SQL Primary server:
43
+
```powershell
44
+
curl.exe -u <username>:<password> -X GET "https://<elasticsearch-hostname>:9200/"
45
+
```
46
+
47
+
A successful response (without `-k`) for each confirms the certificate is trusted. If a command only succeeds with `-k` (skip verification), import the relevant CA certificate into the Windows **Trusted Root Certification Authorities** store on the SQL Primary before proceeding. See [SSL/TLS Certificate Issues](./troubleshooting/pre-requisite-troubleshooting.md#ssltls-certificate-issues) for import instructions.
48
+
49
+
6. **Relativity admin account permissions** — The Relativity admin account used with the CLI must:
50
+
- Be a member of the **System Administrators** group in Relativity.
51
+
- Have read/write access to the **Secret Store**.
52
+
- Use **Forms Authentication**. The CLI authenticates against the Relativity REST API using Forms Authentication credentials; other authentication providers are not supported.
53
+
- **Not have two-factor authentication (2FA) enabled.** The CLI cannot complete an interactive 2FA challenge. Using an account with 2FA enforced will result in authentication failures during setup.
54
+
55
+
7. **Elasticsearch admin account** — The Elasticsearch credential provided to the CLI must have **superuser** privileges (or equivalent cluster-level read/write permissions). Using a limited-privilege account will result in `Unauthorized` errors during API key creation and index operations.
56
+
57
+
#### Instance URL guidance
58
+
59
+
> [!IMPORTANT]
60
+
> Providing the wrong Relativity or Elasticsearch URL is one of the most common causes of setup failure. Review these requirements before running the CLI.
61
+
62
+
**Relativity instance URL:**
63
+
- Use the **load balancer or primary web server hostname** that is reachable from the SQL Primary server, in the format `https://<hostname>/Relativity`.
64
+
- Do **not** use a private or internal hostname that resolves differently from the SQL server than from workstations. The CLI makes REST API calls from the SQL Primary server, so the URL must resolve and be routable from that machine.
65
+
- The URL must use HTTPS and the certificate at that hostname must be trusted on the SQL Primary server (see prerequisite 5).
- Use the **master node hostname** — do not use a data node URL. The CLI communicates with the cluster through the master/coordinating node, which handles cluster-level operations such as API key creation and index management.
70
+
- The default port is `9200`. The URL must use HTTPS if TLS is enabled on the cluster.
71
+
- Use a hostname that matches the **Subject Alternative Name (SAN) or Common Name (CN)** on the Elasticsearch TLS certificate. Using an IP address or alternate hostname not covered by the certificate will cause a certificate mismatch (SSL error) even if the certificate is otherwise trusted.
72
+
- Example: `https://<elasticsearch-hostname:9200`
73
+
74
+
> [!TIP]
75
+
> If your environment uses a load balancer in front of Elasticsearch, confirm that the load balancer certificate covers the hostname you are providing, and that the backend nodes are also individually accessible for certificate validation. When in doubt, use the individual node hostname that matches the certificate CN/SAN.
76
+
22
77
23
78
24
79
### Set up instructions
@@ -45,14 +100,23 @@ Follow these steps to set up Data Grid Audit using the Relativity Server CLI. Al
45
100
Existing settings do not exist
46
101
Enter the Relativity admin username (relativity.admin@kcura.com): relativity.admin@kcura.com
47
102
Enter the Relativity admin password: *********
48
-
Enter the Relativity instance url (https://emttest/Relativity): https://emttest/Relativity
103
+
Enter the Relativity instance url (https://relativity.example.com/Relativity): https://relativity.example.com/Relativity
49
104
Relativity instance is verified
50
105
Enter the Elasticsearch admin username (elastic): elastic
51
106
Enter the Elasticsearch admin password: *********
52
-
Enter the Elasticsearch cluster endpoint URL (https://emttest:9200): https://emttest:9200
107
+
Enter the Elasticsearch cluster endpoint URL (https://<elasticsearch-hostname>:9200): https://<elasticsearch-hostname>:9200
53
108
54
109
```
55
110
111
+
| Parameter | Description | Example |
112
+
| :--- | :--- | :--- |
113
+
| Relativity admin username | The username of a Relativity System Administrator account. Must use Forms Authentication with two-factor authentication disabled. | `relativity.admin@kcura.com` |
114
+
| Relativity admin password | The password for the Relativity admin account. | |
115
+
| Relativity instance URL | The HTTPS URL of the Relativity web server or load balancer, reachable from the SQL Primary server. Must end with `/Relativity`. | `https://relativity.example.com/Relativity` |
116
+
| Elasticsearch admin username | The username of an Elasticsearch account with superuser privileges. | `elastic` |
117
+
| Elasticsearch admin password | The password for the Elasticsearch admin account. | |
118
+
| Elasticsearch cluster endpoint URL | The HTTPS URL of the Elasticsearch **master**. Do not use a data node URL. The hostname must match the CN/SAN on the Elasticsearch TLS certificate. Default port is `9200`. | `https://<elasticsearch-hostname>:9200` |
119
+
56
120
3. Wait for Setup to Complete.
57
121
58
122
```
@@ -70,6 +134,9 @@ Follow these steps to set up Data Grid Audit using the Relativity Server CLI. Al
70
134
71
135
If the setup completes successfully, Datagrid is now configured for the environment.
72
136
137
+
> [!NOTE]
138
+
> After setup completes, check whether the `NewDataGridMigratorToggleOverwrite` instance setting exists in your Relativity instance. If it is present, it must be set to `True`. If it is not present, no action is required.
139
+
73
140
4. Restart the Relativity services on all machines for the changes to take effect.
0 commit comments