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 URL Toolbox
SHA256 checksum (url-toolbox_192.tgz) 4845e4529f46b869e91a038be8f06d46f506968a1584e072921aa237ae2e913b SHA256 checksum (url-toolbox_191.tgz) 0bd8d08b3f32031fc3fd75761e5f5fe4e8a896917f2fbee31de48a0e8a2d18e2 SHA256 checksum (url-toolbox_18.tgz) bc36d3acce009bfcfdce41705e4d62a6eb2f57e20fc856294a5afc10a04a0d9f SHA256 checksum (url-toolbox_16.tgz) 5a7368d9cb695d17eaa736459c2c2091e003839ce02ef483ac44d99a59cd8576 SHA256 checksum (url-toolbox_15.tgz) 6a4e7f61d0aa6d48f893181b1574f81112f8976340782489d5d1622a2392d663 SHA256 checksum (url-toolbox_14.tgz) d02c592da2df1239ab9b8ab5c8d2ce1aa4985681a7d8189506436ed2c95e7451 SHA256 checksum (url-toolbox_13.tgz) 989733909359354a446694ac2c60b7a592dac76d12c4ce02c1433094fc5bbc7e SHA256 checksum (url-toolbox_12.tgz) 028044d5560367a202b0cdb23060c351ca129c85bffd3c5eae9cad337e4d18f5 SHA256 checksum (url-toolbox_11.tgz) 316ed9fa5244bfbfcca3e6ee9596430fd8a58d7da67440c375a44b1004274c4d
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

URL Toolbox

Splunk Cloud
Splunk Labs
This app is NOT supported by Splunk. Please read about what that means for you here.
Overview
Details
UTBox is a set of building blocks for Splunk specially created for URL manipulation.

UTBox has been created to be modular, easy to use and easy to deploy in any Splunk environments. It only needs to be deployed on Splunk Search Heads and the bundles will automatically be sent to your Splunk Indexers.

One of the core feature of UTBox is to correctly parse URLs and complicated TLDs (Top Level Domain) using the Mozilla Suffix List. Other functions like shannon entropy, counting, suites, meaning ratio, bayesian analysis, etc, are also available.

UTBox has firstly be created for security analysts but may fit other needs as it's a set of building blocks. Enterprise Security users will need to modify the import statement to use UTBox.

You should also take a look at URLParser for efficient URL parsing: https://splunkbase.splunk.com/app/3396/

🐞 For assistance, create issue on: https://github.com/splunk/utbox/issues/new

Maintainer: GSS FDSE @ Splunk
Code Commiters: FDSE, Daniel, Mayur, Cedric, and Ian.

Documentation

This tool has an embeded documentation located after installation in $SPLUNK_HOME/etc/apps/utbox/appserver/static/documentation.pdf

What is what ?

The syntax of a URL is as follow:

scheme://[user:password@]domain:port/path?query_string#fragment_id

Component details:

  • The scheme, which in many cases is the name of a protocol (but not always), defines how the resource will be obtained. Examples include http, https, ftp, file and many others.
  • The domain name or literal numeric IP address gives the destination location for the URL.
  • The port number, given in decimal, is optional; if omitted, the default for the scheme is used (80 for http, 443 for https, etc).
  • The path is used to specify and perhaps find the resource requested.
  • The query string contains data to be passed to software running on the server. It may contain name/value pairs separated by ampersands, for example ?first_name=John&last_name=Doe.
  • The fragment identifier, if present, specifies a part or a position within the overall resource or document. When used with HTML, it usually specifies a section or location within the page, and used in combination with Anchor elements or the "id" attribute of an element, the browser is scrolled to display that part of the page.

Source: http://en.wikipedia.org/wiki/Uniform_resource_locator

List of provided Lookups

For more information, please refer to the embeded documentation.

  • ut_parse_simple(url)
  • ut_parse(url, list) or ut_parse_extended(url, list)
  • ut_shannon(word)
  • ut_countset(word, set)
  • ut_suites(word, sets)
  • ut_meaning(word)
  • ut_bayesian(word)
  • ut_levenshtein(word1, word2)

Lookup & Macros

A generic lookup call in Splunk is of the format:

... | lookup <lookup_name> field AS field 

For example:

... | lookup ut_parse_simple_lookup url AS cs_uri

UTBox also provides macros definition for each lookup to make it easier to call the lookups. In the previous example, the call would be:

... | `ut_parse_simple(cs_uri)`

It is important to understand that those macros are simply shortcuts to lookups call. One can use one or another depending on their tastes.

History

  • v1.6, April 2016
    • new feature: the list parameter now accept a star (*) to load all lists (Mozilla, IANA, and Custom) in order to return the longest matching TLD.
    • Thanks to @davelugo for the idea!
  • v1.5, December 2015 Important changes
    • new feature: users can choose which list of TLD to load (2 provided by default, Mozilla Suffix List and IANA List)
    • ut_parse_extended requires now 2 arguments (url to parse and the list to use, ‘mozilla’, ‘iana' or 'custom')
    • ut_parse, mapped to ut_parse_extended requires the same.
  • v1.4, November 2015
    • Fix incorrect parsing for hosts having a port specified (ex: tcp://host.tld:443/)
  • v1.3, September 2015
    • Hosts are no more lowered (usefull when dealing with Base64 encoded data).
  • v1.2, May 2015
    • Added ut_levenshtein()
  • v1.1, May 2015
    • First public release

Release Notes

Version 1.9.2
June 3, 2022
  • Bugfix for Mozilla Suffix List
  • Stability improvements
Version 1.9.1
Dec. 1, 2021

Maintenance release adding explicit python.version stanzas to transforms.

Version 1.8
Feb. 21, 2020

Update for python3. Also includes updated mozilla suffix list.

Version 1.6
April 18, 2016

Community Supported App

Version 1.5
Dec. 17, 2015
Version 1.4
Oct. 30, 2015
Version 1.3
Sept. 21, 2015
Version 1.2
May 12, 2015
Version 1.1
May 6, 2015

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.