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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...