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
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...