Getting Data In

Define a default date format per Database

sbsbb
Builder

I've realised that there is no default Date format, so every date is in timestamp format, and so not readable for the user...

To convert each field in the query ("TO_CHAR...") is very intensiv.

Would it be possible to set a Default Date format on the database source, so that dbconnect always convert it, before display... Should work with dbconnect and dbmon

0 Karma

Dan
Splunk Employee
Splunk Employee

DBConnect will only convert one timestamp per event - whichever you choose as the time the event itself occurred. All other fields will not be converted before indexing. You can convert at search time by using the convert search command.

0 Karma

sbsbb
Builder

Is there no plan to change this in future ?
We use a lot of timestamp : changed,insert timestamps, with a couple of join, I have already about 8 timestamps, that I need to format with to_char...

0 Karma
Get Updates on the Splunk Community!

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...