Splunk Search

Zoom and Center Map Visualization

pepper_seattle
Path Finder

Hello,

I have a geostats with iplocation query which specifies specific regions within a country in the search. I'd like to have my map zoomed in on specific country once populated, but I'm honestly not sure how to go about doing that. Please include an example query as the documentation I've found so far hasn't been as helpful as I'd hoped.

Sorry for the undoubtedly noob question.

Thanks!

Tags (3)
0 Karma
1 Solution

aljohnson_splun
Splunk Employee
Splunk Employee

This can be changed in the formatting of the visualization. You can specify location as well as zoom.

alt text

They correspond to these values in the Simple XML

<option name="mapping.map.center">(0,0)</option>
<option name="mapping.map.scrollZoom">0</option>
<option name="mapping.map.zoom">2</option>

The only option in the actual command options themselves that relates to your question is

maxzoomlevel
Syntax: maxzoomlevel=
Description: The maximum level to be created in the quad tree. Defaults to 9, which specifies that 10 zoom levels will be created: 0-9.

View solution in original post

pepper_seattle
Path Finder

Thanks to everyone who provided answers. Your help is much appreciated.

0 Karma

pepper_seattle
Path Finder

Does the Zoom on Scroll option (yes/no) only appear in certain versions? I do not have it under any of the format options. I input the line 0 in the source code, but it doesn't take away the ability to zoom while scrolling.

0 Karma

aljohnson_splun
Splunk Employee
Splunk Employee

well, it at least sounds like it doesn't appear in your version - but to be honest, I'm not sure.

0 Karma

MartinMcNutt
Communicator

I believe what you are looking for is hidden under the Paint Brush Icon when you are in edit panel mode of your dashboard.

  1. Zoom into the region you want the map to start.
  2. Edit Panels then select Paint Brush on your Map Panel
  3. Click Map Section
  4. Populate with current map settings
  5. Click Apply

aljohnson_splun
Splunk Employee
Splunk Employee

This can be changed in the formatting of the visualization. You can specify location as well as zoom.

alt text

They correspond to these values in the Simple XML

<option name="mapping.map.center">(0,0)</option>
<option name="mapping.map.scrollZoom">0</option>
<option name="mapping.map.zoom">2</option>

The only option in the actual command options themselves that relates to your question is

maxzoomlevel
Syntax: maxzoomlevel=
Description: The maximum level to be created in the quad tree. Defaults to 9, which specifies that 10 zoom levels will be created: 0-9.

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...