Cannot collect any logs
Author: yhan219Created Jul 16, 2025Updated Jun 11, 2026
Labelskind/bug
Describe the Bug A clear and concise description of what the bug is.
For UI issues please also add a screenshot that shows the issue.
I installed the whizard-logging component and everything was showing up fine, but I had nothing in the log query. I installed it offline, here is the configuration I installed:
apiVersion: kubekey.kubesphere.io/v1alpha2
kind: Cluster
metadata:
name: sample
spec:
hosts:
- {name: master1, address: xxxx, internalAddress: xxx, user: root}
- {name: master2, address: xxxx, internalAddress: xxx, user: root}
- {name: master3, address: xxxx, internalAddress: xxx, user: root}
- {name: node1, address: xxxx, internalAddress: xxx, user: root}
- {name: node2, address: xxxx, internalAddress: xxx, user: root}
- {name: node3, address: xxxx, internalAddress: xxx, user: root}
- {name: harbor, address: xxxx, internalAddress: xxx, user: root}
roleGroups:
etcd:
- master1
- master2
- master3
control-plane:
- master1
- master2
- master3
worker:
- node1
- node2
- node3
registry:
- harbor
controlPlaneEndpoint:
## Internal loadbalancer for apiservers
internalLoadbalancer: haproxy
domain: lb.kubesphere.local
address: ""
port: 6443
system:
ntpServers:
- master1
timezone: "Asia/Shanghai"
kubernetes:
version: v1.33.0
clusterName: cluster.local
autoRenewCerts: true
containerManager: containerd
etcd:
type: kubekey
#type: kubeadm
dataDir: /data/etcd
network:
plugin: calico
kubePodsCIDR: 10.233.64.0/18
kubeServiceCIDR: 10.233.0.0/18
## multus support. https://github.com/k8snetworkplumbingwg/multus-cni
multusCNI:
enabled: false
storage:
openebs:
basePath: /data/openebs/local
registry:
type: harbor
auths:
"dockerhub.kubekey.local":
username: admin
password: Harbor12345
skipTLSVerify: true
plainHTTP: false # Allow contacting registries over HTTP.
certsPath: "/etc/docker/certs.d/dockerhub.kubekey.local" # Use certificates at path (*.crt, *.cert, *.key) to connect to the registry.
privateRegistry: "dockerhub.kubekey.local"
namespaceOverride: "kubesphereio"
registryMirrors: []
insecureRegistries: []
containerdDataDir: /data/containerd
dockerDataDir: /data/docker
registryDataDir: /data/harbor/registry
addons: []
Versions Used KubeSphere: v4.1.3
Environment KirinV10
How To Reproduce Steps to reproduce the behavior:
- Successfully installed the whizard-logging component
- Check the pod in the service and you can see the log
- Check container log queries and event log queries, nothing is there.
Expected behavior Do I need to install Grafana Loki for WhizardTelemetry component
Source: kubesphere/kubesphere