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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

How to Break a Kubernetes Pod on Purpose and Let the AI Troubleshooting Agent Find ...

Let's say I've just rolled out a Kubernetes Deployment with a typo in the image tag. Nothing explodes. The pod ...

Splunk Add-on for Microsoft Windows 11.0.3: Parse Once, Search Faster

The updated Splunk Add-on for Microsoft Windows helps customers search Windows events faster by reducing ...

What's New in Splunk Enterprise Security 8.8 and Beyond

Threats move at machine speed. Keeping up should not depend on having the biggest budget, the largest team, or ...