The following Kubernetes logs collector can be used to push your Kubernetes logs to LogSense.
Setting this up is as easy as two kubectl
commands:
kubectl create secret -n kube-system generic logsense-token --from-literal=logsense-token=YOUR-LOGSENSE-TOKEN-HERE
kubectl apply -f https://raw.githubusercontent.com/logsenseapp/fluentd-kubernetes-daemonset/master/logsense-daemonset.yaml
The deamonset creates a logging agent pod on every node of the Kubernetes cluster and takes care of the logs collection and distribution.
It uses the Fluentd Kubernetes DeamonSet underneath.