Splunk Search

DBQuery and epoch

ericrobinson
Path Finder

I am creating a dashboard form that is driven off of a text box, and a drop-down. I am trying to dynamically populate the dropdown with the valid date choices for reporting as stored in the DB. The problem is the date is a string in the DB I am querying (20,120,331). NO problem I thought.. I will use the TO_DATE oracle function. Now, the date is showing in Epoch in splunk UI (1333166400). Anyone have any idea on how to make this display correctly?

--I already tried convert - convert timeformat="%H:%M:%S" ctime(time)--

Tags (2)
0 Karma

ericrobinson
Path Finder

User error.. I wasnt displaying the formatted field correctly.

0 Karma
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...