icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading importutil
SHA256 checksum (importutil_10-beta2.tgz) 3d60bc9c25733b79d362e78d2afee8d42755cf10d72e4f6dfdd8dec3f5a461bf SHA256 checksum (importutil_10-beta1.tgz) 566c77b00702ecd961db05c93e630d20f14dc808d6afb51094c1f0db9cc8b416 SHA256 checksum (importutil_10-alpha3.tgz) c2944f50f8c46495f48896472e38cf6f7f40fb54cec689f0a127e2f83cd49349
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

importutil

This app has been archived. Learn more about app archiving.
This app is NOT supported by Splunk. Please read about what that means for you here.
Overview
Details
Provides a mechanism for copying remote files to splunk via the search interface.
http, https, ftp, sftp are all supported. importutil can be used to create lookup tables from csv, tsv, json or any other time series media type.

importutil can be used to create lookup tables from csv, tsv, json or any other time series media type. For example, assume you would like to import time series data from the Federal Reserve Economic Data website (FRED). E.G. Get US Employment data since 1939, http://research.stlouisfed.org/fred2/data/PAYEMS.csv. You can import this csv into Splunk via the Splunk search window with the command:
<query>|importutil http http://research.stlouisfed.org/fred2/data/PAYEMS.csv | multikv</query>

importutil honors the common URL schema: protocol://<user>:<password>@<host>:<port>/<url-path>. <user>:<password> format has only been tested on ftp and sftp.

Features:

  • Provides file retrieval over several common protocols: http, https, ftp, sftp.
  • Allows for consumption of any character data. Works nicely with csv, tsv, json, or any structured format.
  • Proxy configuration supported over http and https.
  • Authentication supported over ftp and sftp.
  • Is executable from Splunk search window.
  • Is extensible (add your own protocol)!

Note:

  • sftp requires special setup: Download/Install of python packages : pycrypto and paramiko.

For detailed install instructions:
Install

For detailed usage:
Usage

Release Notes

Version 1.0 beta2
Jan. 15, 2013

Release Notes:
Added format=splunk to http import. This allows one to overcome following bug -> Description: When splunk is installed on windows, multikv's automatic csv parsing omits the last field on each line if the file is dos encoded.
http://splunk-base.splunk.com/answers/71139/issue-with-csv-import
Use this command to enable this feature
|importutil format=splunk http http://someurl/some.csv

Version 1.0 beta1
Dec. 28, 2012
Removed ._* files from the tar
Removed .DS_Store files from the tar
Updated tests so they would work on a linux box
Upgraded version number to beta1 !
This version is fully tested (included sftp) on Amazon Linux AMI.  Previous versions would have worked... only some of the error case test cases were promlematic
Add screenshot and appIcon for splunkbase
Version 1.0 alpha3
Dec. 25, 2012
Updated https to import iu.http
Updated importutil to properly import classes from package "iu"
Updated test to toggle logs.

Added an http server for local testing.
Moved all libraries to an "iu" (short for importutil) package
Moved examples to bin/examples so that the SimpleHTTPServer could access the

Added test cases for http, ftp, https.
Modified http, ftp, sftp, https to take an output file.  Rather than write t

Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.