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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...