Updated Logstash and OpenSearch versions

Signed-off-by: keithhc2 <keithhc2@users.noreply.github.com>
This commit is contained in:
keithhc2 2021-12-01 14:13:14 -08:00
parent 41dd391a5b
commit 1a98dc0a1f
1 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ If you're migrating from an existing Logstash installation, you can install the
1. Pull the Logstash oss package with the OpenSearch output plugin image: 1. Pull the Logstash oss package with the OpenSearch output plugin image:
``` ```
docker pull opensearchproject/logstash-oss-with-opensearch-output-plugin:7.13.2 docker pull opensearchproject/logstash-oss-with-opensearch-output-plugin:7.13.4
``` ```
1. Create a Docker network: 1. Create a Docker network:
@ -90,13 +90,13 @@ If you're migrating from an existing Logstash installation, you can install the
1. Start OpenSearch with this network: 1. Start OpenSearch with this network:
``` ```
docker run -p 9200:9200 -p 9600:9600 --name opensearch --net test -e "discovery.type=single-node" opensearchproject/opensearch:1.0.0 docker run -p 9200:9200 -p 9600:9600 --name opensearch --net test -e "discovery.type=single-node" opensearchproject/opensearch:1.2.0
``` ```
1. Start Logstash: 1. Start Logstash:
``` ```
docker run -it --rm --name logstash --net test opensearchproject/logstash-oss-with-opensearch-output-plugin:7.13.2 -e 'input { stdin { } } output { docker run -it --rm --name logstash --net test opensearchproject/logstash-oss-with-opensearch-output-plugin:7.13.4 -e 'input { stdin { } } output {
opensearch { opensearch {
hosts => ["https://opensearch:9200"] hosts => ["https://opensearch:9200"]
index => "opensearch-logstash-docker-%{+YYYY.MM.dd}" index => "opensearch-logstash-docker-%{+YYYY.MM.dd}"