Uninstallation
This procedure removes Energy Logserver from a RHEL-based system (RHEL, Rocky Linux, AlmaLinux).
Warning
Uninstallation permanently deletes all collected data, indices, dashboards, alert rules, and configuration. Back up anything you want to keep before proceeding. See Backup and Recovery.
Step 1 — Stop all services
Stop every ELS component before removing packages:
for svc in logserver-probe alert intelligence automation skimmer cerebro e-doc logserver-gui logserver; do
systemctl is-active --quiet "$svc" && systemctl stop "$svc"
done
Step 2 — Disable services
Prevent the components from restarting on boot:
for svc in logserver-probe alert intelligence automation skimmer cerebro e-doc logserver-gui logserver; do
systemctl is-enabled --quiet "$svc" 2>/dev/null && systemctl disable "$svc"
done
Step 3 — Remove packages
yum remove -y 'energy-logserver-*'
Verify nothing remains:
rpm -qa | grep -i energy-logserver
The command should return no output.
Step 4 — Remove residual data and configuration
The package manager removes RPM-tracked files, but data directories, indices, and logs are preserved by design. Remove them manually:
# Core engine data and configuration
rm -rf /etc/logserver /etc/logserver-gui /etc/logstash
rm -rf /var/log/logserver /var/log/logserver-gui /var/lib/logstash
rm -rf /usr/share/elasticsearch /usr/share/kibana
# Component directories
rm -rf /opt/alert /opt/cerebro /opt/e-doc /opt/intelligence /opt/automation
# System tuning files installed by ELS
rm -f /etc/security/limits.d/30-logserver.conf
rm -f /etc/sysctl.d/90-logserver.conf /etc/sysctl.d/90-namespaces.conf
# Cron jobs
rm -f /etc/cron.d/configuration-backup /etc/cron.d/maxmind_geoip_db
Step 5 — Reload systemd
systemctl daemon-reload
systemctl reset-failed
Step 6 — Revert system settings
The sysctl and limits files were removed in Step 4, but the running kernel still holds the values set during installation. Revert them for the current session, or reboot:
sysctl -w vm.max_map_count=65530
sysctl -w vm.swappiness=60
sysctl -w net.ipv4.tcp_retries2=15
Or simply reboot — the defaults from /etc/sysctl.conf will apply.