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!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...