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!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

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 ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...