This is a LogService plugin for Ambassador to send logs to an Elasticsearch index.
Environment Variables
ELASTICSEARCH_ENDPOINTS can have comma separated values of multiple elasticsearch cluster nodes, default value is http://localhost:9200. Custom value example http://es01.example.com:9200,http://es02.example.com:9200
ELASTICSEARCH_INDEX can be used to define Index name, default value is ambassador
Build Steps
Build go binary on ubuntu server go build
You can use Dockerfile to create docker image docker build . -t logservice_es --no-cache
Use the deployment.yml file to deploy to Kubernetes as kubectl -f apply deployment.yml