Accessing Graylog
Simplyblock's control plane includes a Prometheus, Grafana, and Graylog installation.
Graylog retrieves logs for all control plane and storage node services.
The standard retention period for metrics is 7 days. However, this can be changed when creating a cluster.
How to access Graylog
Graylog can be accessed through all management node API. It is recommended to set up a load balancer with session stickyness in front of the Graylog installation(s).
Graylog URLs
http://<MGMT_NODE_IP>/graylog
Credentials
The Graylog installation uses the cluster secret as its password for the user admin.
When installed inside Kubernetes, the Graylog password can be retrieved using kubectl as follows:
Retrieve the Graylog password
kubectl get secret -n simplyblock simplyblock-graylog -secret \
-o jsonpath="{.data.GRAYLOG_PASSWORD_SECRET}" | base64 --decode
The resulting password can be used to log in to Graylog.
Example output for Graylog password
[root@demo ~]# kubectl get secret -n simplyblock simplyblock-graylog-secret \
-o jsonpath="{.data.GRAYLOG_PASSWORD_SECRET}" | base64 --decode
is6SP2EdWg0NdmVGv6CEp5h87d7g9sdassem4t9pouMqDQnHwXMSomas1qcbKSt5yISr8eBHv4Y7Dbswhyz84Ut0TW6kqsiPs
Credentials
Username: admin
Password: <PASSWORD>