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)
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...