Splunk Search

External source for external lookup

jvmerilla
Path Finder

Hi,
I'm trying to create an external lookup but I'm getting very confused.
What are the external sources that I can use where I can match the fields of my events?
I'm very new on this topic so I don't really have any idea.
I've read the documentation but everything is still vague.

Hope someone can clarify these things to me.

Thanks in advance.

0 Karma
1 Solution

elliotproebstel
Champion

An external lookup is a script that you write to allow users to take a value in Splunk and lookup a corresponding value in some other source. Because external lookups are custom scripts that you write, the list of potential external sources is infinite. The canonical example, which is provided by Splunk, is a dnslookup that allows the user to resolve a hostname from an IP address or vice versa. This is pretty well documented here:
http://docs.splunk.com/Documentation/Splunk/7.0.0/Knowledge/Configureexternallookups

You can take the sample code provided by Splunk and modify it to use any data source to which you have access.

View solution in original post

elliotproebstel
Champion

An external lookup is a script that you write to allow users to take a value in Splunk and lookup a corresponding value in some other source. Because external lookups are custom scripts that you write, the list of potential external sources is infinite. The canonical example, which is provided by Splunk, is a dnslookup that allows the user to resolve a hostname from an IP address or vice versa. This is pretty well documented here:
http://docs.splunk.com/Documentation/Splunk/7.0.0/Knowledge/Configureexternallookups

You can take the sample code provided by Splunk and modify it to use any data source to which you have access.

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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...