All Apps and Add-ons

How to utilize Google API key for Maps+

kiddsupreme
Explorer

This may be a simple question, but I have been unable to find an answer as of yet. I need to know how to use a Google API key in Maps+. Currently, when I try to do something like Street View, I get a pop-up saying :

API Key Failure
Failed to get API key for user: , realm: undefined - Verify credentials and try again.

alt text

I have a API key; I just need to know where to put the information so I can get it to work. Any assistance would be appreciated.

0 Karma
1 Solution

shaskell_splunk
Splunk Employee
Splunk Employee

As previously stated, just download - https://splunkbase.splunk.com/app/4013.

Create a username that will be the API Key User and enter the API Key as the password. From there, just reference the API Key User in the format menu of the viz.

Format Menu -> Google Places -> API Key User

Optionally, you can specify a realm when creating the API Key User with the REST storage/passwords Manager for Splunk. You don't need a realm, but if you specify one, you'll need to put it in the API Key Realm field. The realm is only needed for storing multiple passwords with the same username so they don't collide.

View solution in original post

shaskell_splunk
Splunk Employee
Splunk Employee

As previously stated, just download - https://splunkbase.splunk.com/app/4013.

Create a username that will be the API Key User and enter the API Key as the password. From there, just reference the API Key User in the format menu of the viz.

Format Menu -> Google Places -> API Key User

Optionally, you can specify a realm when creating the API Key User with the REST storage/passwords Manager for Splunk. You don't need a realm, but if you specify one, you'll need to put it in the API Key Realm field. The realm is only needed for storing multiple passwords with the same username so they don't collide.

kiddsupreme
Explorer

Format Menu -> Google Places -> API Key User

This was what I was looking for. I had everything else in place; just didn't know where to put the API Key User. Thanks for the assistance on this. I appreciate it.

0 Karma

PavelP
Motivator

Hello @kiddsupreme

https://github.com/sghaskell/maps-plus/blob/master/README.md

API Key Storage
API keys for use with Google Places search, Bing Maps and the Google Streetview comapnion viz must be stored in Splunk's storage/passwords REST endpoint. Every user who needs access to a key must have the list_storage_passwords capability enabled for their role. Set ACL's on credentials to narrow the scope of who can access them. Download and install my REST storage/passwords Manager for Splunk to make this process painless.

https://docs.splunk.com/Documentation/Splunk/8.0.3/RESTREF/RESTaccess#storage.2Fpasswords

https://splunkbase.splunk.com/app/4013/ REST storage/passwords Manager for Splunk

kiddsupreme
Explorer

I read that as well; however, I find the documentation lacking. What information goes where? At the very least, is there an example of what information goes where?

0 Karma

PavelP
Motivator
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!

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 ...