Update to Elastic 7.0.1 (#382)
This commit is contained in:
parent
e8e238f00c
commit
05e527c503
|
@ -35,7 +35,7 @@ source .env
|
|||
curl -X POST -D- 'http://localhost:5601/api/saved_objects/index-pattern' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-H "kbn-version: ${ELK_VERSION}" \
|
||||
-u kibana:changeme \
|
||||
-u elastic:changeme \
|
||||
-d '{"attributes":{"title":"logstash-*","timeFieldName":"@timestamp"}}'
|
||||
|
||||
log 'Searching index pattern via Kibana API'
|
||||
|
|
|
@ -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/376)
|
||||
[](https://github.com/deviantony/docker-elk/issues/382)
|
||||
[](https://travis-ci.org/deviantony/docker-elk)
|
||||
|
||||
Run the latest version of the [Elastic stack][elk-stack] with Docker and Docker Compose.
|
||||
|
@ -167,8 +167,8 @@ 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: 6.7.0' \
|
||||
-u kibana:<your generated kibana password> \
|
||||
-H 'kbn-version: 7.0.1' \
|
||||
-u elastic:<your generated elastic password> \
|
||||
-d '{"attributes":{"title":"logstash-*","timeFieldName":"@timestamp"}}'
|
||||
```
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ version: '3.3'
|
|||
services:
|
||||
|
||||
elasticsearch:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:6.7.0
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.0.1
|
||||
ports:
|
||||
- "9200:9200"
|
||||
- "9300:9300"
|
||||
|
@ -20,7 +20,7 @@ services:
|
|||
replicas: 1
|
||||
|
||||
logstash:
|
||||
image: docker.elastic.co/logstash/logstash:6.7.0
|
||||
image: docker.elastic.co/logstash/logstash:7.0.1
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- "9600:9600"
|
||||
|
@ -38,7 +38,7 @@ services:
|
|||
replicas: 1
|
||||
|
||||
kibana:
|
||||
image: docker.elastic.co/kibana/kibana:6.7.0
|
||||
image: docker.elastic.co/kibana/kibana:7.0.1
|
||||
ports:
|
||||
- "5601:5601"
|
||||
configs:
|
||||
|
|
|
@ -5,11 +5,6 @@
|
|||
cluster.name: "docker-cluster"
|
||||
network.host: 0.0.0.0
|
||||
|
||||
# minimum_master_nodes need to be explicitly set when bound on a public IP
|
||||
# set to 1 to allow single node clusters
|
||||
# Details: https://github.com/elastic/elasticsearch/pull/17288
|
||||
discovery.zen.minimum_master_nodes: 1
|
||||
|
||||
## Use single node discovery in order to disable production mode and avoid bootstrap checks
|
||||
## see https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html
|
||||
#
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
## from https://github.com/elastic/logstash-docker/blob/master/build/logstash/config/logstash-full.yml
|
||||
#
|
||||
http.host: "0.0.0.0"
|
||||
xpack.monitoring.elasticsearch.url: http://elasticsearch:9200
|
||||
xpack.monitoring.elasticsearch.hosts: [ "http://elasticsearch:9200" ]
|
||||
|
||||
## X-Pack security credentials
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue