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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...