All Apps and Add-ons

Error with google map app in Splunk

OMohi
Path Finder

I am getting errords from the geoip script in the Google map apps in Splunk. The same search in the search app is working fine. I thought it might be some permission issue but google map app has read , write and execute functions properly defined.

Here is my search string: index=network sourcetype=syslog | rex field=_raw "(?\d+.\d+.\d+.\d+)" | lookup geoip clientip as ip

On seach head the following eror gets displayed
Script for lookup table 'geoip' returned error code 1 . Results may be incorrect.

Please suggest if there is a resolution for this issue.

0 Karma

asmall
Explorer

Try:

index=network sourcetype=syslog ip=* | rex field=_raw "(?d+.d+.d+.d+)" | geoip ip

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...