Splunk Search

Can I use an average in maps+ instead of count?

sarauppal
Explorer

While using maps+ the clusters it makes show count of events in it. How can i use average of the values for a particular kpi? Like when it shows cluster count can I display average of a KPI like I am able to do on custom cluster maps

alt text

AS the picture shows counts like 273, I want average of a percentage displayed here. Is that at all possible. Please help, I need this done quickly.

Currently I am doing the same thing using Custom Cluster Maps

basesearch|eval kpi=A+B |geostats latfield=latitude lonfield=longitude avg(kpi)

This gives me the desired result where geogriphical clusters are made with average of KPI for all the items in the cluster displayed on top.

But map+ has better detailing, so I wanted to use that. Is there a way I can get a similar average there instead of count of items in the cluster?

ygdrassilp
Explorer

Hope this could get answer since maps+ has a nice design

0 Karma

mstjohn_splunk
Splunk Employee
Splunk Employee

Hi @sarauppal,

I went ahead and deleted your duplicate post and posted the details from your comment into this post. Good luck with your query!

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...