ELK-OSS using docker-compose https://github.com/deviantony/docker-elk
Go to file
2023-01-09 18:22:38 +09:00
elasticsearch/config Add: docker-compose.yml, config yml(s) 2023-01-06 18:28:08 +09:00
filebeat/config Add: docker-compose.yml, config yml(s) 2023-01-06 18:28:08 +09:00
kibana/config Add: docker-compose.yml, config yml(s) 2023-01-06 18:28:08 +09:00
logstash Add: docker-compose.yml, config yml(s) 2023-01-06 18:28:08 +09:00
.gitignore Add: .gitignore 2023-01-06 18:27:49 +09:00
docker-compose.yml Fix: remove pull_policy(error on podman-compose) 2023-01-09 18:11:03 +09:00
LICENSE Add: License 2023-01-06 18:27:22 +09:00
README.md typo 2023-01-09 18:22:38 +09:00

ELK-OSS Docker-Compose

.
├── docker-compose.yml
├── elasticsearch
│   └── config
│       └── elasticsearch.yml
├── filebeat
│   └── config
│       └── filebeat.yml
├── kibana
│   └── config
│       └── kibana.yml
├── LICENSE
├── logstash
│   ├── config
│   │   └── logstash.yml
│   └── pipeline
│       └── logstash.conf
└── README.md

Data 폴더 생성

컨테이너 실행시에 elasticsearch/data 폴더가 생성되긴 하지만, elasticsearch가 죽어버림
77* 권한이 필요하기때문에 애초에 폴더를 만들고서 권한 까지 바꿔주자

mkdir elasticsearch/data && sudo chmod 770 elasticsearch/data
# gerneral docker compose
docker-compose up -d
# installed docker-compose-plugin
docker compose up -d
# using podman-compose
podman-compose up -d

without container

압축파일 다운 및 압축해제

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-7.3.1-linux-x86_64.tar.gz
tar -xvf elasticsearch-oss-7.3.1-linux-x86_64.tar.gz

실행

cd elasticsearch-oss-7.3.1-linux-x86_64
bin/elasticsearch

# daemonizer
bin/elasticsearch -d