1.3 KiB
1.3 KiB
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