Error: File paths must be absolute - never happened before! Pls advice

Hi,

With Logstash 7.3.1

I just tried to add a few csv Demo Samples through logstash but now logstash is rejecting the File Path..

What ? This Never happened before...

[2019-09-13T15:24:59,168][DEBUG][logstash.javapipeline    ] Shutdown waiting for worker thread {:pipeline_id=>"main", :thread=>"#<Thread:0x3e296f0a dead>"}
[2019-09-13T15:24:59,168][DEBUG][logstash.javapipeline    ] Shutdown waiting for worker thread {:pipeline_id=>"main", :thread=>"#<Thread:0x6c36dfd1 dead>"}
[2019-09-13T15:24:59,168][DEBUG][logstash.javapipeline    ] Shutdown waiting for worker thread {:pipeline_id=>"main", :thread=>"#<Thread:0x72453cfa run>"}
[2019-09-13T15:24:59,200][DEBUG][logstash.filters.csv     ] Closing {:plugin=>"LogStash::Filters::CSV"}
[2019-09-13T15:24:59,200][DEBUG][logstash.pluginmetadata  ] Removing metadata for plugin da826a7f22d5054a8e33acde054297bedad2b937e9a9c8b5584740c3c6d67364
[2019-09-13T15:24:59,215][DEBUG][logstash.outputs.stdout  ] Closing {:plugin=>"LogStash::Outputs::Stdout"}
[2019-09-13T15:24:59,215][DEBUG][logstash.pluginmetadata  ] Removing metadata for plugin c8a12aa1eb628d32fca4c1a24a1cc4f34d6ed64a76dba1b627f8adecb87dee79
[2019-09-13T15:24:59,215][DEBUG][logstash.outputs.elasticsearch] Closing {:plugin=>"LogStash::Outputs::ElasticSearch"}
[2019-09-13T15:24:59,231][DEBUG][logstash.outputs.elasticsearch] Stopping sniffer
[2019-09-13T15:24:59,231][DEBUG][logstash.outputs.elasticsearch] Stopping resurrectionist
[2019-09-13T15:25:00,215][DEBUG][logstash.outputs.elasticsearch] Waiting for in use manticore connections
[2019-09-13T15:25:00,215][DEBUG][logstash.outputs.elasticsearch] Closing adapter #<LogStash::Outputs::ElasticSearch::HttpClient::ManticoreAdapter:0x4522da00>
[2019-09-13T15:25:00,231][DEBUG][logstash.pluginmetadata  ] Removing metadata for plugin 3812143c77fe2468e5f232ea9885f2aaf821299bc82b5af6a1ddfb74aaaac674
[2019-09-13T15:25:00,231][ERROR][logstash.javapipeline    ] Pipeline aborted due to error {:pipeline_id=>"main", :exception=>#<ArgumentError: File paths must be absolute, relative path specified: ‪C:/Elastic/7.3.1/Data/combine.csv>, :backtrace=>["C:/Elastic/7.3.1/logstash-7.3.1/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.1.10/lib/logstash/inputs/file.rb:269:in `block in register'", "org/jruby/RubyArray.java:1792:in `each'", "C:/Elastic/7.3.1/logstash-7.3.1/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.1.10/lib/logstash/inputs/file.rb:267:in `register'", "C:/Elastic/7.3.1/logstash-7.3.1/logstash-core/lib/logstash/java_pipeline.rb:192:in `block in register_plugins'", "org/jruby/RubyArray.java:1792:in `each'", "C:/Elastic/7.3.1/logstash-7.3.1/logstash-core/lib/logstash/java_pipeline.rb:191:in `register_plugins'", "C:/Elastic/7.3.1/logstash-7.3.1/logstash-core/lib/logstash/java_pipeline.rb:292:in `start_inputs'", "C:/Elastic/7.3.1/logstash-7.3.1/logstash-core/lib/logstash/java_pipeline.rb:248:in `start_workers'", "C:/Elastic/7.3.1/logstash-7.3.1/logstash-core/lib/logstash/java_pipeline.rb:146:in `run'", "C:/Elastic/7.3.1/logstash-7.3.1/logstash-core/lib/logstash/java_pipeline.rb:105:in `block in start'"], :thread=>"#<Thread:0x3e06ff6 run>"}
[2019-09-13T15:25:00,262][ERROR][logstash.agent           ] Failed to execute action {:id=>:main, :action_type=>LogStash::ConvergeResult::FailedAction, :message=>"Could not execute action: PipelineAction::Create<main>, action_result: false", :backtrace=>nil}
[2019-09-13T15:25:00,340][DEBUG][logstash.agent           ] Starting puma
[2019-09-13T15:25:00,356][DEBUG][logstash.agent           ] Trying to start WebServer {:port=>9600}
[2019-09-13T15:25:00,356][DEBUG][logstash.instrument.periodicpoller.os] Stopping
[2019-09-13T15:25:00,387][DEBUG][logstash.instrument.periodicpoller.jvm] Stopping
[2019-09-13T15:25:00,387][DEBUG][logstash.instrument.periodicpoller.persistentqueue] Stopping
[2019-09-13T15:25:00,387][DEBUG][logstash.instrument.periodicpoller.deadletterqueue] Stopping
[2019-09-13T15:25:00,403][DEBUG][logstash.agent           ] Shutting down all pipelines {:pipelines_count=>0}
[2019-09-13T15:25:00,418][DEBUG][logstash.agent           ] Converging pipelines state {:actions_count=>0}
[2019-09-13T15:25:00,434][DEBUG][logstash.api.service     ] [api-service] start
[2019-09-13T15:25:00,731][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600}
[2019-09-13T15:25:05,583][INFO ][logstash.runner          ] Logstash shut down.

Any Idea what is going on here !?

Thanks and Brgds

Those extra characters at the start of the path result in Pathname.relative? returning true. Check the encoding of your configuration file.

Hi Badger,
yes solved!
The Problem was the copied path from Object name (File-Properties-Security)
Thanks