splunk / splunk-connect-for-kubernetes

Helm charts associated with kubernetes plug-ins
Apache License 2.0
344 stars 270 forks source link

Not getting pod health #807

Closed oarusoft closed 1 year ago

oarusoft commented 2 years ago

I am not seeing pod health like pod counts, pod restarts, etc.

Or is this already there? can someone please advice.

Also how can I see all the data this collector is collecting without using mstats? I want to do something like Index=xyz_metrics

Thank You

hvaghani221 commented 1 year ago

Hi @oarusoft, SCK doesn't collect pod counts/pod restarts as metrics. Here is the list of all collected metrics: https://github.com/splunk/fluent-plugin-kubernetes-metrics/blob/develop/metrics-information.md

But you can monitor pods/deployments by enabling splunk-kubernetes-objects. https://github.com/splunk/splunk-connect-for-kubernetes/blob/15d8023c3669cdd430f29ccbe0181baa2ecc0a63/helm-chart/splunk-connect-for-kubernetes/values.yaml#L650-L703

aryznar-splunk commented 1 year ago

Please reopen ticket when proposed solution do not work for you.

oarusoft commented 1 year ago

@harshit-splunk I am bit confused. Am Isuppose to use splunk-otel-collector-chart or "splunk-connect-for-kubernetes" Can you please advice which one to use.

Thank You.

hvaghani221 commented 1 year ago

You should migrate to splunk-otel-collector-chart as we are planning to deprecate SCK in future.

oarusoft commented 1 year ago

Thanks @harshit-splunk for info.

One quick question. For Splunk Otel Collector how can I enable objects from helm? I am looking for Otel Collector helm that will enable all the features like Logging, Metrics and Objects.

Thank You.