This is a LogService plugin for Ambassador to send logs to an Elasticsearch index.
ELASTICSEARCH_ENDPOINTS
can have comma separated values of multiple elasticsearch cluster nodes, default value ishttp://localhost:9200
. Custom value examplehttp://es01.example.com:9200,http://es02.example.com:9200
ELASTICSEARCH_INDEX
can be used to define Index name, default value is ambassador
- 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
MIT