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!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...