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!

Casting Call: Compete in Cyber Games

Lights, Camera, SecOps: Apply to Compete in Cyber Games     Think you have what it takes to beat the clock? ...

Data Management Digest – June 2026

Welcome to the June 2026 edition of Data Management Digest! This month’s update is short and sweet, with a ...

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...