Splunk Search

Question about geostats

yan
Engager

Hello, I am new to SPL language.  I have been working on 'geostats' recently and not quite sure what 'translatetoxy' or 'locallimit' are used for. Can anybody make clear how those parameters are used?

 

Many Thanks!

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Any time you find something confusing or unclear in Splunk documentation you should submit feedback on that page.  The Docs team is very good about improving documentation in response to user feedback.

As I understand it, the locallimit option controls how many items of each series will be returned.  For example, if you used 

| geostats locallimit=5 ... by Country

then each country would show 5 entries.

I don't understand the translatetoxy option, but if you want to display results on a map then the option must be set to true.

---
If this reply helps you, Karma would be appreciated.

yan
Engager

Thanks for the quick response. I gave a thumbs-up 😁. However I couldn't see any difference from my data so I still feel confused. Could you please post maybe 2 pics that illustrates the differences with different locallimt value?

Thanks again!

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Sorry, but I have no examples of the geostats command.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...