Getting Data In

Assigning Timestamps based on index time

rtadams89
Contributor

I have a log file which includes only time values in the timestamp of each event:

10:41:11 (lmgrd)
10:41:11 (lmgrd) pid 1504
10:41:11 (lmgrd) Detecting other license server manager (lmgrd) processes...
10:41:11 (lmgrd) Done rereading
10:41:11 (lmgrd) FLEXnet Licensing (v11.9.0.0 build 87342 x64_n6) started on s4311cawv (IBM PC) (6/8/2014)
10:41:11 (lmgrd) Copyright (c) 1988-2010 Flexera Software, Inc. All Rights Reserved.
10:41:11 (lmgrd) US Patents 5,390,297 and 5,671,412.

I would like to have Splunk use a combination of the time extracted from the events and the date the event is indexed to derive a _time value. How can I go about doing this?

Tags (1)
0 Karma
1 Solution

ankireddy007
Path Finder

Because there is no Date in your events, splunk will take current date by default. And events contain time, so Splunk will take time from events only by default.

Please go ahead with default settings.

View solution in original post

0 Karma

ankireddy007
Path Finder

Because there is no Date in your events, splunk will take current date by default. And events contain time, so Splunk will take time from events only by default.

Please go ahead with default settings.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...