All Apps and Add-ons

How to add existing indexed metrics to Splunk App for Infrastructure?

hettervik
Builder

Hi,

We've trying out the Splunk App for Infrastructure, to see if this adds any value to out existing deployment. We have already deployed UFs, and are already collecting some metrics data, so we though it would be possible to use this existing metric data in the app, but we cant figure out how to make it work.

We have updated the macro "sai_metrics_indexes" to include our custom metric index, but still, when looking at the "Investigate" dashboard of the app, there are no entities listed.

The table shows some of the metric data that we have from Kubernetes, using the following command.

 

| mstats avg(*) where index=metric-kub by host

 

hostavg(kube.container.cpu.limit)avg(kube.container.memory.request)avg(kube.node.memory.utilization)avg(kube.pod.cpu.limit)avg(kube.pod.cpu.request)avg(kube.pod.memory.limit)avg(kube.pod.memory.request)
kub-server0125.856695.48267533829139.373.957.4145.2
kub-server0225.856695.48275886711539.373.957.4145.2

 

What do we need to do to include this metric data in the Splunk App for Infrastructure?

Do we have to input the data all over, using the exact configuration script from the "Add Data" tab in the app?

Thanks!

Labels (3)
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...