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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...