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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...