oneuptime/Logs
Nawaz Dhandala a981683d81
fix
2022-04-10 22:50:28 +01:00
..
certs fix 2022-04-10 22:50:28 +01:00
elastic fix 2022-04-10 22:50:28 +01:00
default.conf fix 2022-04-10 22:50:28 +01:00
docker-compose.yaml fix 2022-04-10 22:50:28 +01:00
README.md fix 2022-04-10 22:50:28 +01:00

OneUptime ELK

An Elastic Search tool for advance logging for OneUptime platform

Setup

Before running the docker-compose file there are basic things to set up on your vm

  • Install Docker and Docker Compose docker docker-compose

  • Setup vm.max_map_count value

    // run this in your terminal
    sudo nano /etc/sysctl.conf
    
    // add this value to the file
    vm.max_map_count=262144
    
  • Copy all the files and folder here to your prefered directory on the vm

Running

To run elastic search server in the root directory run

docker-compose up -d --build

Delete Containers

docker-compose down -v

-v flag will delete the volumes too

Networking

To allow inbound and outbound traffic to the server, there are few ports you need to allow

Port Description
5601 TCP
9200 TCP
9300 TCP
1515 TCP
1515 UDP
1514 UDP