I have setup logs and metrics collection for my Kubernetes cluster, but Explore is reporting no metrics data is available for any of the panels.
Explore is dependent on having metrics enabled and metrics datapoints flowing to HTTP sources, on prerequisite fields set, and metrics pods in
Running status. Ensure that the following have been configured:
1) Metrics need to be enabled for fluentd pods. Note that by default this setting should already have been enabled. If it is not, then enable it by adding
values.yaml configuration file and then upgrading your helm chart by running
helm upgrade --install my-release-name sumologic/sumologic \
2) Explore requires prerequisite fields to be set. Set the following fields in the Sumo Logic UI prior to configuring collection. This ensures that your logs and metrics are tagged with the below relevant metadata fields:
For information on setting up fields, see the Fields help page.
3) Confirm that fluentd metrics and prometheus pods are in running status. You can check the pod's status by running
kubectl get pods -n <your-sumologic-namespace> and you should get an output of pods residing in that namespace. Ensure that pods suffixed with
-kube-prometheus-prometheus- are in a
Running status. If the pods are not in a running status, then further debugging is required by investigating the pod logs.
Please sign in to leave a comment.