I have Splunk Enterprise installed on a Linux Server. I need to monitor a Windows Shared Directory containing a CSV file that needs to be uploaded daily to Splunk.
Each time I try to create a monitor (Add Data -> Monitor -> Files & Directories) I get this error: "Parameter Name: Path must be absolute".
Is there any way to fix that? How can I check if the Splunk has access to the Windows shared directory?
Look to see if you can mount the windows directory. If the windows directory looks like part of the Linux filesystem, and Splunk has the permissions to access the mount, it may work for you.
Look to see if you can mount the windows directory. If the windows directory looks like part of the Linux filesystem, and Splunk has the permissions to access the mount, it may work for you.
I mounted the directory using cifs-utils. It worked now. Thanks.
Glad it worked for you. I'll write up a short answer.
Install the Splunk Universal Forwarder on a Windows system that has access to the shared directory and configure it to monitor the file.
This is difficult to do given a windows share sits on a VIP and is load balanced. So this is not as straight forward as it may seem.
Can you mount the windows directory?
I cannot mount the Windows directory in the Linux server that Splunk is installed.