All Apps and Add-ons

REST API Input -- Checkpoint datetime parameter encoding in API url.

New Member


I am trying to define a REST data input that uses an encoded URL param to fetch data. That param is a datetime value, called 'last_seen', see the following image:

alt text

What I'm after is a way to encode the datetime value so that the API can process it correctly.

Example: for a value of 2017-07-26T15:07:37.000+01:00 the encoded string value should look exactly like this 2017-07-26T15%3A07%3A37.000%2B01%3A00

0 Karma


Were you able to get this figured out, I had the same issue?


0 Karma
Get Updates on the Splunk Community!

Using Machine Learning for Hunting Security Threats

WATCH NOW Seeing the exponential hike in global cyber threat spectrum, organizations are now striving more for ...

New Learning Videos on Topics Most Requested by You! Plus This Month’s New Splunk ...

Splunk Lantern is a customer success center that provides advice from Splunk experts on valuable data ...

How I Instrumented a Rust Application Without Knowing Rust

As a technical writer, I often have to edit or create code snippets for Splunk's distributions of ...