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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...