Skip to content

xodiumx/elk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ELK

Install with Docker (local)

  1. Clone repository
git clone https://github.com/xodiumx/elk.git
  1. In main directory create .env file, fill in all the variables in <>
# Main settings

ELASTIC_VERSION=7.17.15

ELASTIC_USERNAME=<your_name>
ELASTIC_PASSWORD=<your_password>
ELASTIC_PORTS_1=9200
ELASTIC_PORTS_2=9300

LOGSTASH_PORTS_1=5044
LOGSTASH_PORTS_2=5001
LOGSTASH_PORTS_3=9600

LOGSTASH_CONFIG_PATH=/usr/share/logstash/config/pipelines/service_stamped_json_logs.conf

KIBANA_PORTS=5601

# Hosts

HOST=0.0.0.0
LOGSTASH_HOST=logstash:5044
ELASTIC_HOST=http://elasticsearch:9200
KIBANA_HOST=http://localhost:5601

# Filebeat

PATH_TO_LOGS=<path_to_logs>
NAME_LOGS=<logs_name>
  1. Use command
docker-compose up -d
  1. Command for mac-m1
docker-compose -f docker-compose-dev.yml up -d 

Releases

No releases published

Packages

No packages published