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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...