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
> The default username and password combination are `elastic:changeme`
219
219
220
220
> Make sure to execute `node scripts/makelogs`*after* elasticsearch is up and running!
221
+
221
222
### Running Elasticsearch Remotely
222
223
223
224
You can save some system resources, and the effort of generating sample data, if you have a remote Elasticsearch cluster to connect to. (**Elasticians: you do! Check with your team about where to find credentials**)
Setup remote clusters for cross cluster search (CCS) and cross cluster replication (CCR).
245
+
246
+
Start your primary cluster by running:
247
+
```bash
248
+
yarn es snapshot -E path.data=../data_prod1
249
+
```
250
+
251
+
Start your remote cluster by running:
252
+
```bash
253
+
yarn es snapshot -E transport.port=9500 -E http.port=9201 -E path.data=../data_prod2
254
+
```
255
+
256
+
Once both clusters are running, start kibana. Kibana will connect to the primary cluster.
257
+
258
+
Setup the remote cluster in Kibana from either `Management` -> `Elasticsearch` -> `Remote Clusters` UI or by running the following script in `Console`.
259
+
```
260
+
PUT _cluster/settings
261
+
{
262
+
"persistent": {
263
+
"cluster": {
264
+
"remote": {
265
+
"cluster_one": {
266
+
"seeds": [
267
+
"localhost:9500"
268
+
]
269
+
}
270
+
}
271
+
}
272
+
}
273
+
}
274
+
```
275
+
276
+
Follow the [cross-cluster search](https://www.elastic.co/guide/en/kibana/current/management-cross-cluster-search.html) instructions for setting up index patterns to search across clusters.
277
+
242
278
### Running Kibana
243
279
244
280
Start the development server.
@@ -506,7 +542,7 @@ yarn test:browser --dev # remove the --dev flag to run them once and close
506
542
* In System Preferences > Sharing, change your computer name to be something simple, e.g. "computer".
507
543
* Run Kibana with `yarn start --host=computer.local` (substituting your computer name).
508
544
* Now you can run your VM, open the browser, and navigate to `http://computer.local:5601` to test Kibana.
0 commit comments