This is an implementation of a simple log server for tekton dashboard to serve up container level logs when using elastic search as log store.
docker run -e "ELASTICSEARCH_URL=somees.domain.com" -P moustafab/tekton-es-logs:main
See the tekton-dashboard documentation for more details here
curl <domain:port>/logs/:namespace/:pod/:container
for a container's logs
``
This is a simple server that fulfills the external log server necessary for log fallback.
This requires your logs to be parsed from standard out using the kubernetes plugin for the elastic stack.
It assumes:
- log offset for ordering
- < 10000 logs
- ES index pattern matches
kubernetes-application-*
- logs have kubernetes metadata from kubernetes plugin for elastic