A plugin had an unrecoverable error. Will restart this plugin Error: No such file or directory

I am getting the below error , could you please help , i cant create the home directory on my server . Is there a config somewhere we can change to desired location

A plugin had an unrecoverable error. Will restart this plugin.
Plugin: <LogStash::Inputs::File path=>["/local/apache22/0/logs/ws1.access_log_v.2017-0621"], add_field=>{"app_id"=>"86929"}, codec=><LogStash::Codecs::Plain charset=>"UTF-8">, stat_interval=>1, discover_interval=>15, sincedb_write_interval=>15, start_position=>"end", delimiter=>"\n", ignore_older=>86400, close_older=>3600>

Error: No such file or directory - /home/kalepu/.sincedb_aedbe76565beb4779800bed67001d83e.14686.11894.354780 {:level=>:error}

input {

    file
    {
    path => [""/local/apache22/0/logs/ws1.access_log_v.2017-0621""]
    add_field => { "app_id" => "xxxxx"}
    }

}

filter {

}

output {

   if [app_id] == "xxxxx" {

kafka {

            topic_id => "xxxxx"

            bootstrap_servers => "xxxxx:1001"

            codec => json {}

    }

}

}

The file input's sincedb_path option can be used to set the path to the sincedb file that Logstash is trying to access.

Why do you have two double quotes before and after the filename pattern?

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