Preview documentation

 


New search commands

This documentation does not apply to the most recent version of Splunk. Click here for the latest version.

New search commands

Some of these commands lack full examples. This is because they aren't fully implemented or are still in a beta state. Feel free to try any of these commands, and comment on the documentation to point something out that you'd like to see added or improved.


Conventions used in this reference

Syntax conventions

command argument ... [argument] ...


argument=syntax and value(default value)Description, and usage.

Other conventions

foo | top

extract

Note: This is not a new command, this is an updated reference for the existing command. extract has new arguments (kvdelim and pairdelim), to expand its functionality.


iplocation

This data-processing command searches for IP addresses in the raw event data. The processor then looks up the IP location using the "hostip.info" database. It will extract and output the IP addresses with associated city/country based on the database's information.


Syntax

iplocation [max-inputs]


Arguments

max-inputs=maxinputs=integer Set the maximum number of events that iplocation will process.

Examples

404 host=webserver1 | head 20 | iplocation

This documentation applies to the following versions of Splunk: 3.1.1 , 3.1.2 , 3.1.3 , 3.1.4 , 3.2 View the Article History for its revisions.


You must be logged into splunk.com in order to post comments. Log in now.

Was this documentation topic helpful?

If you'd like to hear back from us, please provide your email address:

We'd love to hear what you think about this topic or the documentation as a whole. Feedback you enter here will be delivered to the documentation team.

Feedback submitted, thanks!