ZStack Cloud Platform
Single Server, Free Trial for One Year
For scenarios requiring collection of management node logs through a log server to analyze the Cloud health status, you can use the following solution.
You need to deploy the latest ZStack Cloud environment and a Syslog log server.
syslog server
on your log server.syslog server
on your log server. You need to prepare a log server for receiving log information in advance, and ensure that the syslog server
is installed on it.
#$ModLoad imudp #$UDPServerRun 514
Modify preceding commands to the following to enable UDP configuration:$ModLoad imudp $UDPServerRun 514
local1.* /var/log/test.log
systemctl restart rsyslog
iptables -I INPUT -p tcp --dport 7 -j ACCEPT
or run:firewall-cmd --zone=public --add-port=7/tcp --permanent
cat /var/log/test.log
A project requires a log server to collect platform operation logs for auditing project member activities.
Configuration Item | Configuration Details |
---|---|
Project Name | Project-1 |
User Name | User-1 |
Log Server Type | Loki |
Log Server IP | 172.xx.xx.145 |
Log Server Port | 3100 |
Visualization Tool | Grafana |
Set up a log server in advance to receive logs. In this scenario, use a Loki log server.
On the Grafana main menu, click Explore. On the Explore page: