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!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...