All Apps and Add-ons

Splunk for K8s - typo in savedsearches "Pod CPU/Memeory Usage Trend"

guilmxm
SplunkTrust
SplunkTrust

Hello,

Currently reviewing the new Splunk addon for Kubernetes, I noticed a typo in the name of the following saved search:

" Pod CPU/Memeory Usage Trend"

[Pod CPU/Memeory Usage Trend]
search = | mstats avg(_value) as cpu  WHERE `k8s-metrics-index` AND metric_name="kube.pod.cpu.usage" span=10s  BY "pod" | join type=left _time [ | mstats avg(_value) as memory WHERE `k8s-metrics-index` AND metric_name="kube.pod.memory.usage" BY span=10s "pod"] | stats sparkline(avg(cpu)) as "CPU Usage", sparkline(avg(memory)) as "Memory Usage" BY "pod"

KInd regards,

Guilhem

0 Karma
1 Solution

mattymo
Splunk Employee
Splunk Employee

Thanks Guilmxm,

Unfortunately, I noticed a few typos.

Will update for next release. Will keep ya posted!

Matt

- MattyMo

View solution in original post

0 Karma

anywhere99
Explorer

| mstats avg(_value) as cpu WHERE `k8s-metrics-index` AND metric_name="kube.pod.cpu.usage_rate" span=10s BY "pod-name" | join type=left _time [ | mstats avg(_value) as memory WHERE `k8s-metrics-index` AND metric_name="kube.pod.memory.usage_bytes" BY span=10s "pod-name"] | stats sparkline(avg(cpu)) as "CPU Usage", sparkline(avg(memory)) as "Memory Usage" BY "pod-name"

0 Karma

mattymo
Splunk Employee
Splunk Employee

Thanks Guilmxm,

Unfortunately, I noticed a few typos.

Will update for next release. Will keep ya posted!

Matt

- MattyMo
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...