Dashboards & Visualizations

Map - Zoom area adapted to event selected

splunk_exercice
New Member

Hello,

I´m trying to make a map based on a field1 location. The problem is that when I select the field1, the map does not adapt to the longitude and latitude locations.

Example:
If I select text1, the latitude and logitude are:
lat: 40.25 and lon: -3,86

If I select text2, the latitude and logitude are:
lat: 47.81 and lon: 2,81

What I would like to appear in the Map is the following coordinates of the event:
text1: lat: 42.25 and lon: -5,86
the formula will add 2 values to the lat/long so the map can be visible;

text2: lat: 49.81 and lon: 4,81
the formula will add 2 values to the lat/long so the map can be visible;

If you have any doubts understanding my questions, please tell me.

Thanks in advance.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...