Getting Data In

Current date time in whiile reading from CSV

jimjohn
Path Finder

Hi

How can i add current time to _time filed while reading data from CSV file.
I have added below in Splunk\etc\system\default\props.conf
[csv]
URRENT
TIME_FORMAT = %y-%m-%d %H:%M:%S
But it seems date is taking from file name. My file name is like ABC20140107.
I want current time in _time field.How can i achieve this.

Tags (3)
1 Solution

gfuente
Motivator

Use this props.conf:

[csv]
DATETIME_CONFIG = CURRENT

regards

View solution in original post

gfuente
Motivator

Use this props.conf:

[csv]
DATETIME_CONFIG = CURRENT

regards

jimjohn
Path Finder

Thanks i have added this and solved

Get Updates on the Splunk Community!

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...