This directory contains the configuration files and Docker services needed to run Keep with a filebeat container. Useful if you want to test integration of Keep backend logs with Logstash and Kibana.
proxy/
├── docker-compose-elk.yml # Docker Compose configuration for elk integtation
├── filebeat.yaml # Filebeat configuration file
├── logstash.conf # Logstash configuration example to save keep-backend logs
└── README.md # This files
The setup consists of several services:
- Filebeat: Filebeat container to push keep-backend logs to logstash
- Keep Frontend: The Keep UI service configured to use the proxy
- Keep Backend: The Keep API service
- Keep WebSocket: The WebSocket server for real-time updates
LOGSTASH_HOST=logstash-host
LOGSTASH_PORT=5044
- Start the elk environment:
docker compose -f docker-compose-elk.yml up
- To run in detached mode:
docker compose -f docker-compose-elk.yml up -d
- To stop all services:
docker compose -f docker-compose-elk.yml down
- Keep Backend: http://localhost:8080
- Kibana: http://localhost:5601
- Goto http://localhost:5601/app/discover
- Click "Create Data view"
- Add any name you want
- Add index pattern to
keep-backend-logs-*
- Save data view and insect logs
To modify the Filebeat configuration:
- Edit
filebeat.yml
- Restart the filebeat service:
docker compose -f docker-compose-elk.yml restart filebeat
To modify the Logstash configuration:
- Edit
logstash.conf
- Restart the logstash service:
docker compose -f docker-compose-elk.yml restart logstash
- This setup is intended for development environments only
- SSL is disabled for all services for simplification
When modifying the elk setup:
- Document any changes to configuration files
- Test the setup of elk environments
- Update this README if adding new features or configurations