Kubernetes - Monitoring and LoggingWhich of the following is the correct Fluentd output plugin configuration to send logs to Elasticsearch?A<source **>\n @type elasticsearch\n host elasticsearch\n port 9200\n</source>B<match **>\n @type elasticsearch\n host elasticsearch\n port 9200\n</match>C<match **>\n @type kibana\n host elasticsearch\n port 9200\n</match>D<filter **>\n @type elasticsearch\n host elasticsearch\n port 9200\n</filter>Check Answer
Step-by-Step SolutionSolution:Step 1: Understand Fluentd config sectionsFluentd uses to define output destinations.Step 2: Verify plugin type and syntaxOutput plugin for Elasticsearch is '@type elasticsearch' inside block.Final Answer:Correct Fluentd output plugin uses <match> with @type elasticsearch -> Option BQuick Check:Output plugin = <match> + @type elasticsearch [OK]Quick Trick: Use for output, for input in Fluentd [OK]Common Mistakes:Using or for outputWrong plugin type like kibanaMissing @type elasticsearch
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