Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ELK

SELinux

$ chcon -R system_u:object_r:admin_home_t:s0 elk/

Usage

git clone https://github.com/jangrui/docker-compose
cd docker-compose/elk
sudo chown root.root filebeat/filebeat.yml
docker-compose build
docker-compose up

Cleanup

Elasticsearch data is persisted inside a volume by default.

In order to entirely shutdown the stack and remove all persisted data, use the following Docker Compose command:

docker-compose down -v

更改时区

sudo timedatectl set-timezone Asia/Shanghai
systemctl restart rsyslog