Kubernetes - Monitoring and LoggingYou want to secure Elasticsearch in EFK stack with basic authentication. Which Fluentd config addition is required?AAdd 'user' and 'password' parameters under <match> for ElasticsearchBAdd 'auth_basic' under <source> sectionCConfigure Kibana with username and passwordDEnable TLS in Fluentd without credentialsCheck Answer
Step-by-Step SolutionSolution:Step 1: Add authentication parameters in Fluentd outputFluentd Elasticsearch plugin supports 'user' and 'password' for basic auth under .Step 2: Exclude other optionsAuth_basic is not a Fluentd source parameter; Kibana config is separate; TLS alone doesn't provide credentials.Final Answer:Add 'user' and 'password' under <match> for Elasticsearch -> Option AQuick Check:Basic auth needs user/password in Fluentd output [OK]Quick Trick: Set user/password in Fluentd Elasticsearch output for auth [OK]Common Mistakes:Adding auth to source instead of outputConfiguring Kibana instead of FluentdRelying on TLS without credentials
Master "Monitoring and Logging" in Kubernetes9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kubernetes Quizzes Advanced Deployment Patterns - Why advanced patterns matter - Quiz 12easy Advanced Deployment Patterns - Feature flags in Kubernetes - Quiz 13medium Helm Package Manager - Helm charts concept - Quiz 8hard Helm Package Manager - Why Helm simplifies deployments - Quiz 12easy Monitoring and Logging - Why cluster monitoring matters - Quiz 10hard RBAC and Security - Secrets encryption at rest - Quiz 6medium Service Mesh - Mutual TLS for service communication - Quiz 12easy Service Mesh - Traffic management with Istio - Quiz 6medium Service Mesh - Linkerd as lightweight alternative - Quiz 8hard Troubleshooting - Node troubleshooting - Quiz 13medium