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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...