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 Receiver
SHA256 checksum (url-receiver_01.tgz) 4d48f9ce238fdf244bf31c48f53a24ed390490b72769e72407930bdf5fc9965c
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

URL Receiver

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
Modular input for receiving data via webhooks.

URL Receiver Modular Input

Simple modular input written in Go which starts a webserver and listens for incomming requests. Data received in the request body or form params is the indexed by Splunk. This can be used to receive data from Webhooks.

Dependencies

  • Splunk 5+ (tested with 6.1)
  • Linux, MacOSX or Windows (Windows is untested but should work)

Usage

Install the app in Splunk Manager and go to Settings -> Data Inputs -> URL Receiver to add a new input.

Input Settings

  • port (int, required)

    TCP Port to list for incoming HTTP requests.

  • path (string, required)

    URL path to match against to associate an incoming request to a configured input. Requests not matching the path of any input will receive a HTTP 404 response and will not be indexed.

  • data_retrieval (string, default "raw_body")

    "Define how data is extracted from incoming HTTP requests. Possible values are:

    "raw_body" - Index the raw body content of the HTTP request

    "form_field" - Index the content of a particular form field (see form_field)

    "form_kv" - Index generated key-value pairs for all POST- or GET params

    "full_request" - Dump full request details (including request line, headers and form data)

  • form_field (string, default "")

    (For data_retrieval=form_field) Read and index the value of a form field of incoming HTTP requests. The form field can either be the value of a param of the decoded POST/PUT body (either url-encoded or multipart) or the value of the query string for a GET request.

  • host_from_clientip (boolean, default false)

    If enabled use the IP address of the client sending the HTTP request as the host field of the indexed event.

  • debug (boolean, default false)

    Enable debug logging for this input (logs to splunkd.log)

  • response (string, default "OK")

    Text send back to the client after successfully receiving data.

Source Code

The source code for this add-on can be found on github github.com/ziegfried/splunk-urlreceiver

Release Notes

Version 0.1
Sept. 11, 2014

Initial alpha release


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.