All Apps and Add-ons

How do I configure Splunk DB Connect 2 get the proper EST timestamp from my Oracle table instead of EST +5:30?

snehalk
Communicator

Hello Everyone,

Am using the Splunk DB Connect 2 application for the taking Oracle data into Splunk. For assigning the Time stamp, I am facing the difficulties because if I go with clicking Output timestamp option and assigning the table column value that is "starttime", then it's taking that value, but it is showing EST+5:30 hour, but I need to have system time that is EST.

If I go with the default one, even for that it is taking EST+5:30 instead of EST.

Please help me on this. How do I get the table data into Splunk with the EST time stamp?

Thanks,

0 Karma

woodcock
Esteemed Legend

Normalize time time in SQL to EST and append the TZ string before you import it like this:

select CONVERT(datetime,SWITCHOFFSET(CONVERT(datetimeoffset,getdate()),'+05:30')) starttime + ' EST'
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...