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!

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...