parent
fbe0fa29b9
commit
d2ff4a5f22
|
@ -16,7 +16,7 @@ log 'Waiting for readiness of Enterprise Search'
|
||||||
poll_ready enterprise-search 'http://localhost:3002/api/ent/v1/internal/health' 'elastic:testpasswd'
|
poll_ready enterprise-search 'http://localhost:3002/api/ent/v1/internal/health' 'elastic:testpasswd'
|
||||||
|
|
||||||
log 'Retrieving private key from Elasticsearch'
|
log 'Retrieving private key from Elasticsearch'
|
||||||
response="$(curl 'http://localhost:9200/.ent-search-actastic-app_search_api_tokens/_search?q=name:private-key' -s -u elastic:testpasswd)"
|
response="$(curl 'http://localhost:9200/.ent-search-actastic-app_search_api_tokens_v2/_search?q=name:private-key' -s -u elastic:testpasswd)"
|
||||||
hits="$(jq -rn --argjson data "${response}" '$data.hits.hits')"
|
hits="$(jq -rn --argjson data "${response}" '$data.hits.hits')"
|
||||||
echo "$hits"
|
echo "$hits"
|
||||||
count="$(jq -rn --argjson data "${response}" '$data.hits.total.value')"
|
count="$(jq -rn --argjson data "${response}" '$data.hits.total.value')"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Elastic stack (ELK) on Docker
|
# 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://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/515)
|
[](https://github.com/deviantony/docker-elk/issues/529)
|
||||||
[](https://travis-ci.org/deviantony/docker-elk)
|
[](https://travis-ci.org/deviantony/docker-elk)
|
||||||
|
|
||||||
Run the latest version of the [Elastic stack][elk-stack] with Docker and Docker Compose.
|
Run the latest version of the [Elastic stack][elk-stack] with Docker and Docker Compose.
|
||||||
|
@ -238,7 +238,7 @@ Create an index pattern via the Kibana API:
|
||||||
```console
|
```console
|
||||||
$ curl -XPOST -D- 'http://localhost:5601/api/saved_objects/index-pattern' \
|
$ curl -XPOST -D- 'http://localhost:5601/api/saved_objects/index-pattern' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-H 'kbn-version: 7.8.0' \
|
-H 'kbn-version: 7.9.1' \
|
||||||
-u elastic:<your generated elastic password> \
|
-u elastic:<your generated elastic password> \
|
||||||
-d '{"attributes":{"title":"logstash-*","timeFieldName":"@timestamp"}}'
|
-d '{"attributes":{"title":"logstash-*","timeFieldName":"@timestamp"}}'
|
||||||
```
|
```
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: '3.3'
|
||||||
services:
|
services:
|
||||||
|
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.8.0
|
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.1
|
||||||
ports:
|
ports:
|
||||||
- "9200:9200"
|
- "9200:9200"
|
||||||
- "9300:9300"
|
- "9300:9300"
|
||||||
|
@ -23,7 +23,7 @@ services:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|
||||||
logstash:
|
logstash:
|
||||||
image: docker.elastic.co/logstash/logstash:7.8.0
|
image: docker.elastic.co/logstash/logstash:7.9.1
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
- "9600:9600"
|
- "9600:9600"
|
||||||
|
@ -41,7 +41,7 @@ services:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|
||||||
kibana:
|
kibana:
|
||||||
image: docker.elastic.co/kibana/kibana:7.8.0
|
image: docker.elastic.co/kibana/kibana:7.9.1
|
||||||
ports:
|
ports:
|
||||||
- "5601:5601"
|
- "5601:5601"
|
||||||
configs:
|
configs:
|
||||||
|
|
Loading…
Reference in New Issue