Hi Mahmudomer,
You can monitor any local / Remote directory from command line by running command with required parameter.
Local,
./splunk add monitor <log path>
In-Case the files are in remote then you can use TCP/UDP. Read Splunk documentation Link
Mount filesystem / soft link may help you .
... View more