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!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...