Getting Data In

Props manipulate date

giuces
Engager

Hello,

I have to index a log file that has only the timestamp HH:MM:SS ,

HH:MM:SS field1 field2 ...

whenever a new row is added i should merge the actual date with the log timestamp YY/MM/DD HH:MM:SS .

i wasted a whole day to combining props and transforms configuration without success, Anyone can help me to solve ?

Thanks 

 

Labels (1)
0 Karma

ekenne06
Path Finder

in your props.conf, can you try setting 

DETERMINE_TIMESTAMP_DATE_WITH_SYSTEM_TIME = True

How far of a skew are the event times you are looking at with the system time? 

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @giuces,

Splunk already adds the current date to timestamp is there is no in the log. Can you describe more why your are trying to add? Maybe a sample data and props.conf will help.

If this reply helps you an upvote and "Accept as Solution" is appreciated.
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, ...