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

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 Curl search
SHA256 checksum (curl-search_101.tgz) 113f07bc29e726fe23d6aca2c1b0854d349d2cc2542b14db6780d62e2ffb1bf7 SHA256 checksum (curl-search_100.tgz) f3bf51f47717b490bf168d90af34e58bbbcfab5e9633e047ba60f7c36488dd1b
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate


Curl search

This app permit de get curl results into splunk using splunk search

Splunk | curl command

This app contains the search command "curl", which polls data from a REST API. The syntax is as follows, with the question mark indicating the optional Options. This app is a fork from Benjamin Macher ( https://github.com/bmacher/splunk-curl-command ) which contains error ( like ssl verifiction ) and is no more maintained. Fixed in this app.

| curl url verify? paramMap? output? timeout? auth? headers? proxies? unsetProxy?

Options in detail

Option Type Value
url string http://my_rest_api/endpoint
paramMap string "{'param1':'val1', 'param2':'val2'}"
verify boolean true OR false (default: false)
output string json OR text OR force_json OR force_csv (default: json)
timeout int 0..∞
auth string Basic, User, Password
headers json "{'option1': 'val1', 'option2': 'val2'}"
proxies string http_proxy, https_proxy
unsetProxy bool true OR false (default: false)


Returns the data from the endpoint as json

| curl url="https://reqres.in/api/users"

Basic login at the Github API with reponse as plain text

| curl verify=false url="https://api.github.com/user" auth="basic, user, password" output=text

Access InfluxDB with token

| curl verify=false url="http://influx:3000/api/datasources/proxy/1/query" paramMap="{'db':'statsdemo', 'q':'show'}" headers="{'Authorization': 'Bearer token'}"

Copyright © 2021 Timoti Prigent

Please rate this app if it has been useful for you

Release Notes

Version 1.0.1
July 27, 2021

Fixed "paramMap" argument parsing.
Added a new parse parameter "force_json", which force the result in text and re-parse it in json.
Added a new parse parameter "force_csv", not yet ready.

Version 1.0.0
July 21, 2021

Fork from https://github.com/bmacher/splunk-curl-command which fix ssl verification failed ( added a verifiy=false default option ) since the original developper of the apps does not repond


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 and add-ons from Splunk, our partners and our community. Find an app or add-on 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.