Closed tommaso-ascani closed 2 months ago
In testing:
Requirements:
Settings
-> System logs
Configure Cloud Log Manager
Configure
runagent -m $(redis-cli --raw get cluster/default_instance/loki)
systemctl --user status cloud-log-manager-forwarder
redis-cli hget module/$(redis-cli --raw get cluster/default_instance/loki)/environment CLOUD_LOG_MANAGER_HOSTNAME
It is possible to start a syslog server insde a docker/podman container for testing purpose, here an example of docker-compose.yml:
services:
syslog:
image: balabit/syslog-ng:latest
container_name: syslog
ports:
- 514:514/udp
- 601:601/tcp
volumes:
- $PWD/syslog-ng.conf:/etc/syslog-ng/syslog-ng.conf
restart: always
syslog-ng.conf:
@version: 4.6
source s_external {
network(ip("0.0.0.0") port(601) transport(tcp) flags(no-parse,store-raw-message));
network(ip("0.0.0.0") port(514) transport(udp) flags(no-parse,store-raw-message));
};
template forward_template {
template("$RAWMSG\n");
};
destination d_external {
file("/var/log/messages" template(forward_template));
};
log {
source(s_external);
destination(d_external);
};
WARNING: Forwarder correct working could depend on syslog server configuration, so if you are not able to let it work properly, check your configuration.
Settings
-> System logs
Configure export to Syslog
Configure
runagent -m $(redis-cli --raw get cluster/default_instance/loki)
systemctl --user status syslog-forwarder
docker exec -it syslog bash
tail -f /var/log/messages
Cluster stauts
page, correct working of System logs
cardIn testing:
In testing:
In testing:
VERIFIED
Implementation of new ui components to manage logs forwarders.
There will be two available kind of services:
New elements: