Bird
0
0

You deployed Fluentd with this config but logs are not appearing in Elasticsearch:

medium📝 Troubleshoot Q6 of 15
Kubernetes - Monitoring and Logging
You deployed Fluentd with this config but logs are not appearing in Elasticsearch:
<match **>
  @type elasticsearch
  host elasticsearch
  port 9200
</match>

What is a common mistake to check?
AFluentd config uses <source> instead of <match>
BFluentd service account lacks permissions to access logs
CKibana is not running
DElasticsearch host name is incorrect or unreachable
Step-by-Step Solution
Solution:
  1. Step 1: Check connectivity to Elasticsearch

    If the host name is wrong or unreachable, Fluentd cannot send logs.
  2. Step 2: Verify other options

    Permissions affect log collection, not sending; Kibana is for visualization; config uses correctly.
  3. Final Answer:

    Elasticsearch host name incorrect or unreachable -> Option D
  4. Quick Check:

    Check Elasticsearch host connectivity first [OK]
Quick Trick: Verify Elasticsearch host is reachable from Fluentd [OK]
Common Mistakes:
  • Ignoring network issues
  • Blaming Kibana for missing logs
  • Confusing config sections

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes