Comments (5)
@pni-mft elastdocker doesn't support >= v8.* yet. I have it in the plan but I haven't had the time. With 8.0 just released I might work on this very soon!
from elastdocker.
I am almost done with upgrading Elastdocker template to start an >8.0 Cluster 🙌🏻.
from elastdocker.
@sherifabdlnaby This is a great repo! Thanks for your efforts. It might be good to modify your README.md to clarify that the repo only works with ELK_VERSION<8.
from elastdocker.
for what it's worth, I skipped logstash and did this:
# one time setup
sudo sysctl -w vm.max_map_count=262144 # Linux only? Not needed on Mac?
docker pull docker.elastic.co/elasticsearch/elasticsearch:8.0.1
docker pull docker.elastic.co/kibana/kibana:8.0.1
docker network create elastic
# begin elasticsearch + kibana setup
docker run \
--name es01 \
--net elastic \
-p 127.0.0.1:9200:9200 \
-it \
docker.elastic.co/elasticsearch/elasticsearch:8.0.1
# Wait for elastic user password output as well as Kibana enrollment token output
# Leave running, open next step in 2nd terminal
docker run \
--name kibana \
--net elastic \
-p 127.0.0.1:5601:5601 \
-it \
docker.elastic.co/kibana/kibana:8.0.1
# Take note of Kibana verification code in terminal output
# Load http://127.0.0.1:5601 in web browser, it'll ask for Elasticsearch enrollment token and Kibana verification code
# Log in with username: elastic password: from previous step on terminal output
# copy config + certs + data out of docker containers to local machine
docker cp kibana:/usr/share/kibana/config kibana-config
docker cp kibana:/usr/share/kibana/data kibana-data
docker cp es01:/usr/share/elasticsearch/data es01-data
docker cp es01:/usr/share/elasticsearch/config es01-config
# Kill Kibana, kill Elasticsearch with Ctrl+C
# remove old instances
docker rm es01
docker rm kibana
# stand up new instances that are configured with persistent certs, etc.
docker run \
--name es01 \
--net elastic \
-p 127.0.0.1:9200:9200 \
--mount type=bind,source="$(pwd)"/es01-data,target=/usr/share/elasticsearch/data \
--mount type=bind,source="$(pwd)"/es01-config,target=/usr/share/elasticsearch/config \
-it \
docker.elastic.co/elasticsearch/elasticsearch:8.0.1
docker run \
--name kibana \
--net elastic \
-p 127.0.0.1:5601:5601 \
--mount type=bind,source="$(pwd)"/kibana-data,target=/usr/share/kibana/data \
--mount type=bind,source="$(pwd)"/kibana-config,target=/usr/share/kibana/config \
--mount type=bind,source="$(pwd)"/es01-config/certs,target=/usr/share/kibana/config/certs \
-it \
docker.elastic.co/kibana/kibana:8.0.1
Voila. Persistent "ELK" stack (without the L)
from elastdocker.
Aweseome!
from elastdocker.
Related Issues (20)
- Kibana web not open HOT 2
- Unable to see logstash under Cluster overview and encountering error [ERROR][logstash.licensechecker.licensereader] HOT 7
- permission issue on /usr/share/elasticsearch/.aws/config HOT 8
- command not found on setup HOT 1
- Fleet server + Agent option HOT 1
- Exiting: error connecting to Kibana: fail to get the Kibana version: fail to parse kibana version (): passed version is not semver: HOT 1
- Running cert errors HOT 4
- README error in Configuration section HOT 1
- Elastalert missing HOT 1
- fail connecting apm-server to kibana
- An unexpected authentication error occurred. Please log in again.
- can not change port
- No Kibana Token
- APM server does not start with default configuration HOT 8
- Unable to connect with localhost url HOT 1
- Not Getting any dashboard after the installation of elastic-agent HOT 2
- Forgot to set volumes.elasticsearch-data during installation :( HOT 1
- Can't login with default id/pw HOT 1
- org.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active
- Enable config option to run Kibana over http HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elastdocker.