Getting Data In

Timestamp help

rakesh_498115
Motivator

Hi

I have two time stamps in my logs. .

say and TIMESTAMP=2012-07-11T06:59:00.008+01:00 ..

How can i say splunk to take one of time as _time . i need the TIMESTAMP to be taken as my loggig event time..so that i can calucate the difference between the events with the help of transacition command...

Please help..

Tags (1)
0 Karma
1 Solution

Ayn
Legend

You need to set the TIME_PREFIX in props.conf.

[yoursourcetype]
TIME_PREFIX = TIMESTAMP=

http://docs.splunk.com/Documentation/Splunk/latest/admin/Propsconf

View solution in original post

0 Karma

Ayn
Legend

You need to set the TIME_PREFIX in props.conf.

[yoursourcetype]
TIME_PREFIX = TIMESTAMP=

http://docs.splunk.com/Documentation/Splunk/latest/admin/Propsconf

0 Karma
Get Updates on the Splunk Community!

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...