Skip to content

Commit bec1a93

Browse files
committed
Add documentation on adding Kibana to inspect data
1 parent 455b27d commit bec1a93

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,25 @@ GET /documents/search?filter[files.content]=open-source"
269269
```
270270

271271
### How to inspect the content of a search index
272-
The content of a search index can be inspected by running a [Kibana](https://www.elastic.co/kibana) dashboard on top of Elasticseach.
272+
The content of a search index can be inspected by running a [Kibana](https://www.elastic.co/kibana) dashboard on top of Elasticseach by adding the following snippet to your `docker-compose.override.yml`
273273

274-
[To be completed...]
274+
```yaml
275+
services:
276+
kibana:
277+
image: docker.elastic.co/kibana/kibana-oss:7.6.2
278+
ports:
279+
- 127.0.0.1:5601:5601
280+
user: root
281+
command: |
282+
sh -c "/usr/local/bin/kibana-docker --allow-root;"
283+
```
284+
285+
Start the container
286+
```bash
287+
docker-compose up -d kibana
288+
```
289+
290+
Once Kibana has started the dashboard is available at http://localhost:5601
275291

276292
Make sure not to expose the Kibana dashboard in a production environment!
277293

0 commit comments

Comments
 (0)