refs #1719 removes filebeat execution
parent
3106b1010a
commit
84030f392d
|
@ -162,16 +162,6 @@ def setup_filebeat():
|
|||
with open('/etc/hosts', 'a') as f:
|
||||
f.write(f"{oglog_ip} oglog-os.mytld\n")
|
||||
|
||||
# Ejecutar Filebeat directamente sin systemd
|
||||
subprocess.Popen([
|
||||
"/usr/bin/filebeat",
|
||||
"-c", "/etc/filebeat/filebeat.yml",
|
||||
"--path.home", "/usr/share/filebeat",
|
||||
"--path.config", "/etc/filebeat",
|
||||
"--path.data", "/var/lib/filebeat",
|
||||
"--path.logs", "/var/log/filebeat"
|
||||
])
|
||||
|
||||
print("Filebeat instalado y ejecutándose correctamente.")
|
||||
|
||||
except subprocess.CalledProcessError as e:
|
||||
|
|
Loading…
Reference in New Issue