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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...