Deployment Architecture

Google Maps - Where to install

pkeller
Contributor

We have our search heads pooled in batches of 4. I installed Google Maps into the shared application directory and have restarted all search heads, but I'm encountering an error when trying to use the geoip command. Streamed search execute failed because: Error in 'script': Getinfo probe failed for external search command 'geoip'

Should I be installing this app on all of our indexers? Should I install it on our deployment server and then have one of our serverClasses handle getting it to our search heads and/or indexers?

I see this error referenced in quite a few places on SplunkBase, but I'm not really finding a similar situation to compare ours to.

Thank you.

nhamel
Explorer

I was running into the same problem today. We have 4 Indexers and 7 Search Heads running. First In installed Google Maps on one of the Search Heads, resulting in the same error message stated above.
Then I have installed it on one of the indexers and run the geoip command locally on this Indexer, which was running fine. In the last step I installed the app on all 4 Indexers, and then it was running fine fro the Search Head as well.

Ron_Naken
Splunk Employee
Splunk Employee

You can test if this is a distributed search issue where it's trying to execute the command on the Indexers by using splunk_server in a search and piping to geoip:

... splunk_server=localhost | geoip src_ip

If running the command local on the search head solves the issue, you can make a more permanent solution to tell Splunk to execute the command only on search heads, like this:

COMMANDS.CONF:
[geoip]
local=true
0 Karma

lmyrefelt
Builder

you will, but you will not be able to utilize any distributed map(reduce) function on geoip / geostats part,that will be on the search head

0 Karma

hartfoml
Motivator

Ron,

If you run the geoip from the search head Only, Will you still get the data from the indexers?

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...