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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...