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!

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...