All Apps and Add-ons

How to correct the UTC timezone in Splunk DB Connect?

mcbradford
Contributor

I am gathering some events via DBconnect from our sccm database. The events in the database are recorded in UTC.

Snipit below:

2018-06-05 12:41:49.153, RecordID="72057594037953969", MachineID="16780567", LastMessageTime="2018-06-05 12:42:11.997", LastMessageSerialNumber="10", DetectionTime="2018-06-05 12:41:49.153", ProductVersion="4.14.17639.18041"

The indexed time in the event above is 2018-06-05 12:41:49.153, which appears to be collected form the DetectionTime field (which is okay).

The sourcetype is malware

I created a props.conf with the following:

[malware]
TZ = UTC

I have deployed the props.conf to the searchhead (which is where the DBconnect is installed and pulling the events) and to the indexers.

All events are still coming in UTC and not matching my timezone. I have used the props method before without any issues, not sure why it is not working?

0 Karma
1 Solution

maciep
Champion

if this is dbconnect v3, you can set the timezone in your database connection.

0 Karma

Shan
Builder

@mcbradford

May i know based on what datetime filed as source, now your getting data in the splunk index and its displaying.
May i know using DB connect what is the method you pulling data into splunk . Either Batch or Rising.

Have you provided your required date field in the below mentioned options(current index time or choose column)

Batch & Rising: : In Batch you can see the Timestamp filed and with option like current index time and choose column.
current index time - i don't have that much idea about it .
choose column- if you specify the column. based on it date will be indexed into splunk.

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

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...