I'm following documentation on hints based autodiscovery. I want to use annotations to control which pods logs are being discovered. When I use example config like this, then all containers in cluster gets discovered and all logs are sent to Elasticsearch:
I can see in filebeat logs that the pod gets discovered, but no logs are being sent to Elasticsearch.
What am I missing? Do I need to add additional annotations?
Your example does not show a full configuration so it is impossible to know if you doing all that is needed.
In this context filebeat does the autodiscovery and collects the input, then it needs to send it to Logstash and Logstash to ES.
Take a look at this project and you will be fine to connect it all together
Test on local instance like on minikube or similar. I use docker-compose so i cannot confirm about kubernetes but it should work if all of the above is connected well
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.