Getting Data In

IIS FTP LOG TIMEZONE PROBLEM

jscnet
Engager

Using IIS FTP Server, Server 2008 RC2. FTP log format is W3C (UTC Timestamps). Splunk pulls the logs (entries) in just fine, however the time is wrong, that is, there's no conversion from UTC to US/Pacific.

I've looked on this forum and Google and tried modifying the /etc/system/local/props.conf file in the following way (btw: splunk is also running on Windows Server 2008 RC2):

[iis_ftp]
TZ = Etc/UTC

[iis]
TZ = Etc/UTC

AND ...

[sourcetype::iis_ftp]
TZ = Etc/UTC

[sourcetype::iis]
TZ = Etc/UTC

Neither works, no conversion to US/Pacific (or my local timezone). I of course restarted splunk after modifying props.conf. I've looked at the following:

http://splunk-base.splunk.com/answers/9666/iis-log-timezone
http://splunk-base.splunk.com/answers/1425/timezones-iis-w3c-extended-logging-why-dont-they-work
http://docs.splunk.com/Documentation/Splunk/4.2.3/Data/ApplyTimezoneOffsetstotimestamps
http://splunk-base.splunk.com/answers/28442/log-time-differs-from-time-on-splunk-host

This to me should be an obvious no-brainer and a VERY common topic. Perhaps I've misread something in those articles -- just doesn't work. Any solutions? Thanks, J.

Tags (3)
0 Karma
1 Solution

ziegfried
Influencer

Have you tried using:

TZ = UTC

View solution in original post

ziegfried
Influencer

Have you tried using:

TZ = UTC

DominikW
Engager

Worked here also! Thank you!

0 Karma

jscnet
Engager

Thanks @Ziegfried. That worked.

0 Karma

yannK
Splunk Employee
Splunk Employee

are not IIS logs ALWAYS in GMT ?

0 Karma

jscnet
Engager

Using Splunk version 4.2.3

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...