[Logstash configuration when dumping the result file in shared network location]


(Varun Kumar) #1

Hello,
I am trying to parse the input log file and sending the result to a file in a shared network location .Below is my configuration

file{
path => "\optym-01/Share/Temporary_Shared_Space/varun/Logs/%{host}/%{path}"
message_format => "%{message}"
flush_interval => 0

But i am getting the below error

Errno::ENOENT: No such file or directory - \optym-01
mkdir at org/jruby/RubyDir.java:458
fu_mkdir at C:/Users/varunk/Downloads/logstash-2.0.0/logstash-2.0.0/vendo
r/jruby/lib/ruby/1.9/fileutils.rb:247

Thanks and Regards Varun


[sincedb creation]
(Mark Walkom) #2

That does not look valid, shouldn't it be a / rather than a \?


(Varun Kumar) #3

Hello ,
I changes to this //optym-01/Share/Temporary_Shared_Space/varun/Logs/%{host}/%{path}

Still getting the same error


(Varun Kumar) #4

Hello,
Any update on this issue .


(system) #5