The code for setup of Elasticsearch, Kibana and Fluent Bit with basic authentication enabled in Elasticsearch(X-Pack Security) Some URLs to help you guys out:
https://www.studytonight.com/post/setup-fluent-bit-with-elasticsearch-and-kibana-efk-for-log-management-on-linux-machine-non-kubernetes (For doing a local setup)
While working on this repository, I worked with AWS EKS, and used Elasticsearch/Kibana AWS service: https://www.studytonight.com/post/configure-fluent-bit-with-aws-elasticsearch-service