Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sihamouda/elk-stack
https://github.com/sihamouda/elk-stack
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sihamouda/elk-stack
- Owner: sihamouda
- Created: 2022-07-13T08:35:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-07T23:00:13.000Z (over 2 years ago)
- Last Synced: 2023-03-10T00:15:50.867Z (over 1 year ago)
- Language: Shell
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ELK-STACK
This Readme file will help you to use properly my ELK-STACK project# Getting Started
To start the project, run the following command
```bash
docker compose up
```
You will notice that ELK is not secured## Minimal Security for ELK
To enable minimal security features, take a look on elasticsearch.yml kibana.yml and logstash.yml and restart the project
* Run the following command to automatically generate passwords for built in users (**read the next option before executing**)
```bash
docker compose exec -it elasticsearch bash bin/elasticsearch-setup-passwords auto -v --batch
```* If you want to chose the passwords for built in users, run the following command
```bash
docker compose exec -it elasticsearch bash bin/elasticsearch-setup-passwords interactive
```* If you need to reset passwords for elastic, kibana and logstash, use the following commands
```bash
docker compose exec elasticsearch bin/elasticsearch-reset-password --batch --user elastic
``````bash
docker compose exec elasticsearch bin/elasticsearch-reset-password --batch --user kibana_system
``````bash
docker compose exec elasticsearch bin/elasticsearch-reset-password --batch --user logstash_system
```
**Don't forget to paste the result in the .env**## Minimal Security for ELK + HTTPS
To get a higher level of security, you need to activate the **HTTPS** on ELK
1. Generate a **CA** certificate using this command (**optional**)
2. Generate Certification using the **CA** certificate
3. Copy certifactes to the **config** directory
4. Take a look on elasticsearch.yml kibana.yml and logstash.yml and restart the project
**CHECK SETUP.SH**
# Coming Features
1. Interactive cli to make for faster setup
2. Beats