parent
f6d36acb71
commit
a873e6815d
|
@ -1,7 +1,7 @@
|
|||
# Elastic stack (ELK) on Docker
|
||||
|
||||
[](https://gitter.im/deviantony/docker-elk?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[](https://github.com/deviantony/docker-elk/issues/382)
|
||||
[](https://github.com/deviantony/docker-elk/issues/401)
|
||||
[](https://travis-ci.org/deviantony/docker-elk)
|
||||
|
||||
Run the latest version of the [Elastic stack][elk-stack] with Docker and Docker Compose.
|
||||
|
@ -167,7 +167,7 @@ Create an index pattern via the Kibana API:
|
|||
```console
|
||||
$ curl -XPOST -D- 'http://localhost:5601/api/saved_objects/index-pattern' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-H 'kbn-version: 7.0.1' \
|
||||
-H 'kbn-version: 7.1.1' \
|
||||
-u elastic:<your generated elastic password> \
|
||||
-d '{"attributes":{"title":"logstash-*","timeFieldName":"@timestamp"}}'
|
||||
```
|
||||
|
|
|
@ -7,5 +7,6 @@ xpack.monitoring.elasticsearch.hosts: [ "http://elasticsearch:9200" ]
|
|||
|
||||
## X-Pack security credentials
|
||||
#
|
||||
xpack.monitoring.enabled: true
|
||||
xpack.monitoring.elasticsearch.username: elastic
|
||||
xpack.monitoring.elasticsearch.password: changeme
|
||||
|
|
Loading…
Reference in New Issue