Getting Data In

Convert original log timestamp

hjwang
Contributor

The timestamp of log is 2011-06-02 06:06:45 , splunk will resolve it as 11-6-2 AM 06:06:45.000. But this is UTC time. now I wanna convert to local time as +8 hour in Asia/Taipei timezone and add

[tcp::port] || [sourcetype] || [host::$hostname]
TZ = Asia/Taipei

either in inputs.conf and apps/$appsname/local/props.conf. But it seems not to work. anything i set wrong? thanks a lot!!

Tags (1)
0 Karma

mw
Splunk Employee
Splunk Employee

TZ settings will need to go into the props.conf on the parsing server. Reference this in order to figure out where to make the config change, as it depends on your architecture: http://www.splunk.com/wiki/Where_do_I_configure_my_Splunk_settings%3F

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...