Good Evening, I have, what appears to be, a unique situation. I have tried every means that I could find even vaguely related to my problem. The Scenario Data, which each record having it's own epoch-based timestamp, is being imported into Splunk weekly. As a result, indexed timestamps are nowhere near the actual record timestamp. My dashboard has two text boxes in which the user can input a date range (with formatting guidance) for the records' timestamps which fall between those dates. The Problem No matter how I try to format string inputs, I cannot retrieve the records within those dates. What's worse is, when I include my WHERE statement, I don't get ANY records returned. I have been working on this for hours, but I am no closer now than when I began. The Code My input tokens for the text boxes are "date_start" and "date_stop". The field "eventTime" is the record's timestamp in epoch time. <query>index=customer sourcetype=json_no_timestamp custApiKey=d8lwmc9qjd778ksmfy
| eval _start=strptime($date_start$, "%Y-%m-%d")
| eval _start=strftime(_start, "%s")
| eval _stop=strptime($date_stop$, "%Y-%m-%d")
| eval _stop=strftime(_stop, "%s")
| where (_start >= eventTime) AND (_stop < eventTime)
</query> Any help would be GREATLY appreciated!
... View more