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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...