Send kubernetes logs to splunk using fluentd
Update td-agent.conf
<match **>
# Other settings omitted for brevity
server your-splunk-endpoint-here
token your-splunk-hec-token
</match>Create config-map for td-agent.conf
./create-config-map.shdocker build -t ziyasal/k8splunk:{tag} .kubectl create -f k8splunk-ds.yamlkubectl create -f splunk-rc.yaml -f splunk-svc.yamlimage:
repository: your-repository
# and
pull:
secretName : your-secret-namehelm package k8splunkhelm install k8splunk-{your version}.tgz