项目作者: romanmelko
项目描述 :
Integration of Domoticz logging and Splunk for Raspberry PI 4 (ARMv7)
高级语言: Shell
项目地址: git://github.com/romanmelko/domoticz-splunk.git
Integration of Domoticz logging and Splunk for Raspberry PI 4 (ARMv7)
The idea was to have smart home (Xiaomi SmartHome Kit) events logged into Splunk. Domoticz configuration is out of scope
How it works
In current setup, there are 2 containers deployed in Raspberry PI 4:
- domoticz: Domoticz Server
- splunkforwarder: Splunk Universal Forwarder has domoticz.log mounted into container. Also it listens for UDP Syslog events from LAN (e.g. from router). Then it forwards events to remote Splunk instance
Setup
- Pre-configuration:
- [OPTIONAL] update ports/paths in docker-compose.yml, if updated - reflect paths changes in splunk_conf/inputs.conf
- [OPTIONAL] update package versions in Dockerfile_* (Architecture used in ARM 32-bit since of current stable Rasberry Pi 4b)
- update remote Splunk Enterprise host/ip and port in docker-compose.yml
- [OPTIONAL] update hostname for both containers in docker-compose.yml
- [OPTIONAL] Restore Domoticz configuration DB in /opt/docker/domoticz/config/
- Deploy with docker-compose up -d