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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...