How to specify an UNC-Path (network share) for logstash file input plugin

Hello,

I tried specifying a UNC-Path for the "path"-Setting of the logstash file input plugin and unfortunately it doesn't work.

Is this a known issue or does someone here know how to get this to work on a windows maschine?

Here's what I've tried so far:

path => ["\\PC-NAME\share\file.txt"]
path => ["\\\\PC-NAME\\share\\file.txt"]
path => ["\\\\\\\\PC-NAME\\\\share\\\\file.txt"]
path => ["PC-NAME\share\file.txt"]
path => ["PC-NAME/share/file.txt"]
path => ["/PC-NAME/share/file.txt"]
path => ["//PC-NAME/share/file.txt"]
path => ["////PC-NAME//share//file.txt"]
path => ["file://///PC-NAME/share/file.txt"] 

The last one works on windows also in the browser for example.

Thanks in advance for your help.
Simon

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.