Getting Data In

configuring timestamp

a212830
Champion

Hi,

I have a number of logfiles that do not have timestamps. I am processing these logs with the univeral forwarder, on Windows servers. i want the timestamp to be equal to the time of the universal forwarders time when the entry was processed. How would I configure props.conf to do such a thing?

Tags (2)
0 Karma

yannK
Splunk Employee
Splunk Employee

This is possible, but the timestamp will be the index time at the indexer (not the read time at the forwarder).
You have to define a sourcetype for your log, and define it in props.conf on the indexer


[mysourcetypefornotimestamp]
DATETIME_CONFIG = CURRENT

see http://docs.splunk.com/Documentation/Splunk/5.0.1/Data/Configuretimestamprecognition

0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...