Getting Data In

Taking CSV files automatically from folder

jimjohn
Path Finder

I have added a folder to read CSV files through data input >files and directory option.
It seems that when I add a new file it needs splunk instance to restart to take up that file.
Can we configure splunk to read the file automatically when new file is placed into folder.

0 Karma

Ayn
Legend

Just monitor the whole folder instead of pointing out specific files in that folder.

0 Karma

Ayn
Legend

In that case something else is going on in your setup. Splunk does not require a restart to pick up new files. One good start for your troubleshooting is using the script found here: http://blogs.splunk.com/2011/01/02/did-i-miss-christmas-2/

0 Karma

jimjohn
Path Finder

I did like that.Please see the values which i have taken from splunk web.

Full path to your data:D:\SplunkInput\Data
Set host :Constant Value
Source type :csv
Set the destination index :default
Number of files :6
App :launcher

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...