All Apps and Add-ons

DB Connect - How to convert varchar to date/time format

joesrepsolc
Communicator

Working on a new data input in DB Connect with SQL Server. Date column is called "start_time" and is a 19 digit format for a date/time.

Example:

start_time = 20190206170328159

Definitiion Breakdown:
2019 02 06 17 03 28 159
yyyy MM dd HH mm ss SSS

Need it converted to a normal date/time format that Splunk can use for the timestamp. Anyone able to help with correct convert SQL statement?

Help

Thanks! Joe

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...