Skip to content
No description, website, or topics provided.
Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
LICENSE
README.adoc
logsense-fluentd-daemonset-logsense-rbac.yaml
logsense-fluentd-daemonset-logsense.yaml
logsense.conf

README.adoc

LogSense agent for Kubernetes logs collection

The following Kubernetes logs collector can be used to push your Kubernetes logs to LogSense.

How to run it

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/collectivesense/logsense-fluentd-kubernetes-daemonset/master/logsense-fluentd-daemonset-logsense.yaml

RBAC rules

If your cluster uses RBAC Authorization then you need to use some additional configuration. In such case please use the following spec file:

kubectl apply -f https://raw.githubusercontent.com/collectivesense/logsense-fluentd-kubernetes-daemonset/master/logsense-fluentd-daemonset-logsense-rbac.yaml

How does it work

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.

You can’t perform that action at this time.