Splunk Search

Geostats Map Drilldown

kakarsu
New Member

I have a lookup file that contains the name, ID, Latitude and Longitude of all our branches. I have designed a map to locate all the branches on the map. I need to drilldown on-click by capturing the Branch_ID from the list and open another existing dashboard where I can see more details of that branch.

The problem I have is that I cannot select one Branch_ID. Any help? While I click on the dot on the map it opens the other dashboard and tries to search for "null" in the form. Hope I am not confusing.

0 Karma

DalJeanis
Legend

That's going to be a defined behavior in the particular map visualization that you are using - it's aggregating the individual dots/flags rather than maintaining them as individual units.

You might try the Clustered Single value map visualization and see if its behavior meets your needs. https://splunkbase.splunk.com/app/3124/

There are also a number of other map options discussed here - https://www.splunk.com/blog/2017/01/10/dashboard-digest-series-episode-5-maps.html

0 Karma

kakarsu
New Member

Thanks, unfortunately, I'm using enterprise Splunk within our industry with very limited accessibility over the config files and no privilege to add any new app to Splunk platform.

Overall all I need is to be able to click on a single point on the map, capture either the Branch_ID or branch_Name (only one) and past it to the other dashboard. I have pasted the query with drilldown code in the above comments.

Any help would be much appreciated!

Many thanks!

0 Karma

naidusadanala
Communicator

Can you share your search and output ....

It helps to understand the scenario in better way

Thanks

0 Karma

kakarsu
New Member

Hi,

Below is the query I use:
|inputlookup branch_INFO |fields Branch_Number, Branch_Name, SITE_LATD, SITE_LGTD | geostats latfield=SITE_LATD longfield=SITE_LGTD count by Branch_Name globallimit=0 maxzoomlevel=18

AND

Below is the drilldown code:

      <link>https://logit/en-GB/app/PROD/branch_view?form.BranchSearch=$click.value$</link>
          <drilldown>
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!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...