All Apps and Add-ons

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

vpsvpsvps
New Member

Hello!

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

luck123813
Explorer

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

@vpsvpsvps

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...