Splunk Search

strptime returns negative number in

Cuonghuutran
Engager

I have a drill-down in this dash board.

.....
eval Date=strftime(_time,"%m/%d/%Y")
....
table Date,queryHash........
......

strptime($row.Date$,"%m/%d/%Y)

http://xyz/HashIn=$row.queryHash$&form.timePicker.earliest=$startDate$

form.timePicker.earliest is set with negative number in the URL call.

Is it a problem with strptime() or $row.Date$ was not passed correctly to strptim() or something else?
Thanks.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Splunk Classroom Chronicles: Training Tales and Testimonials

Welcome to the "Splunk Classroom Chronicles" series, created to help curious, career-minded learners get ...

Access Tokens Page - New & Improved

Splunk Observability Cloud recently launched an improved design for the access tokens page for better ...

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

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...