# How to get IP geographical information on Splunk?

**URL:** <https://community.ipinfo.io/t/how-to-get-ip-geographical-information-on-splunk/49>\
**Category:** Support\
**Tags:** api, database, integration, splunk, sysadmin\
**Created:** [March 28, 2023, 10:55am UTC](https://community.ipinfo.io/t/how-to-get-ip-geographical-information-on-splunk/49 "2023-03-28T10:55:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![supportbot](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.ipinfo.io/supportbot/32/21_2.png) [@supportbot](https://community.ipinfo.io/u/supportbot)\
**Post date:** [March 28, 2023, 10:55am UTC](https://community.ipinfo.io/t/how-to-get-ip-geographical-information-on-splunk/49/1 "2023-03-28T10:55:49Z")

</div>

How to get IP geolocation information on Splunk using IPinfo? I want to get city and country information from IP address logs on Splunk

_-supportbot_

---

<div class="post-metadata">

**Author:** ![supportbot](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.ipinfo.io/supportbot/32/21_2.png) [@supportbot](https://community.ipinfo.io/u/supportbot)\
**Post date:** [March 28, 2023, 11:46am UTC](https://community.ipinfo.io/t/how-to-get-ip-geographical-information-on-splunk/49/2 "2023-03-28T11:46:33Z")

</div>

We have a Splunk App: [IPinfo App for Splunk](https://splunkbase.splunk.com/app/4070) available on SplunkBase.

### User Manual

Check out the User manual for the IPinfo Splunk app here: [splunk-docs/splunk-installation-and-configuration.pdf at main · ipinfo/splunk-docs · GitHub](https://github.com/ipinfo/user-manuals/blob/main/splunk-installation-and-configuration.pdf)

The documentation covers:

- The installation process via the CLI
  - On a single standalone enterprise installation
  - Distributed architecture
  - Standalone installation on the web

- Configuration after installation
- Usage

After you have installed the IPinfo Splunk App, you can enrich your log data with IP information via the API or the database download.

### API based solution:

1. **Select Method** ⇒ Fetch Details via Rest API
2. **API URL** ⇒ [https://ipinfo.io](https://ipinfo.io)
3. **API Token** ⇒ Your IPinfo API access token
4. **Proxy related information** ⇒ This section is optional.

 ![Splunk IPinfo API configuration](https://canada1.discourse-cdn.com/flex035/uploads/ipinfo/original/1X/e1cc5801b3f5b707ddfd04f045110afc02f0bdf3.jpeg)

For the API level access, IPinfo provides up to 50K IP geolocation requests/month on the free tier. For more requests and more features consider choosing one our [premium tier](https://ipinfo.io/pricing)

### Database solution:

To use our IP database solution, you should have access to the `MMDB` database format of the IP Geolocation Database Download. `MMDB` database format is designed for rapid IP lookups.

1. **Select Method** ⇒ Use MMDB
2. **Proxy related information** ⇒ This section is optional.
3. **Location MMDB** ⇒ Select yes.
4. **Location MMDB Interval (Must be in integer)** ⇒  
-Input **1** if your IP geolocation database is updated daily.  
-Input **7** if your IP geolocation database is updated Weekly.  
-Input **30** if your IP geolocation database is updated Monthly.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/ipinfo/original/1X/7896dfa1175b135e77e4656392c0621339b390bf.jpeg)

Our API even though incredibly fast is not the fastest solution possible. For using our data on Splunk we recommend choosing our IP data downloads.

🔗 **[IP Geolocation Database Product Page](https://ipinfo.io/products/ip-geolocation-database)**

* * *

_- supportbot_

---

<div class="post-metadata">

**Author:** ![Abdullah](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.ipinfo.io/abdullah/32/4973_2.png) [@Abdullah](https://community.ipinfo.io/u/Abdullah)\
**Post date:** [March 28, 2023, 12:55pm UTC](https://community.ipinfo.io/t/how-to-get-ip-geographical-information-on-splunk/49/3 "2023-03-28T12:55:09Z")

</div>

Closed on March 28, 2023, 12:55pm UTC



---

<div class="post-metadata">

**Author:** ![Abdullah](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.ipinfo.io/abdullah/32/4973_2.png) [@Abdullah](https://community.ipinfo.io/u/Abdullah)\
**Post date:** [March 28, 2023, 12:55pm UTC](https://community.ipinfo.io/t/how-to-get-ip-geographical-information-on-splunk/49/4 "2023-03-28T12:55:40Z")

</div>

Opened on March 28, 2023, 12:55pm UTC



---

<div class="post-metadata">

**Author:** ![Abdullah](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.ipinfo.io/abdullah/32/4973_2.png) [@Abdullah](https://community.ipinfo.io/u/Abdullah)\
**Post date:** [March 28, 2023, 12:57pm UTC](https://community.ipinfo.io/t/how-to-get-ip-geographical-information-on-splunk/49/5 "2023-03-28T12:57:20Z")

</div>

Closed on March 28, 2023, 12:57pm UTC



---

<div class="post-metadata">

**Author:** ![Abdullah](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.ipinfo.io/abdullah/32/4973_2.png) [@Abdullah](https://community.ipinfo.io/u/Abdullah)\
**Post date:** [March 28, 2023, 12:58pm UTC](https://community.ipinfo.io/t/how-to-get-ip-geographical-information-on-splunk/49/6 "2023-03-28T12:58:55Z")

</div>

Opened on March 28, 2023, 12:58pm UTC



---

<div class="post-metadata">

**Author:** ![Abdullah](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.ipinfo.io/abdullah/32/4973_2.png) [@Abdullah](https://community.ipinfo.io/u/Abdullah)\
**Post date:** [March 28, 2023, 12:59pm UTC](https://community.ipinfo.io/t/how-to-get-ip-geographical-information-on-splunk/49/7 "2023-03-28T12:59:45Z")

</div>

Closed on March 28, 2023, 12:59pm UTC


