Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Splunk Kubernetes Create index by Namespace

$
0
0
Hi Little background I have a EKS cluster and On Premise splunk cluster. We have 5-10 application micro-service running on EKS. I want ingest logs into the Splunk from EKS K8. Splunk Connector has been configured and able to ingest logs. At present all the K8 pods logs converged into splunk-objects pods and object pod logs are mapped to one index (kube_obj-index)in the splunk. index="kube_obj-index" namespace="myapplication1" "GET" | collect index=myapplication1-logs index="kube_obj-index" namespace="myapplication2" "GET" | collect index=myapplication2-logs index="kube_obj-index" namespace="myapplication3" "GET" | collect index=myapplication3-logs I need to help to modify yaml files so that i want each Kubernetes Namespace logs goes to separate index in the Splunk.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>