Skip to content

[Windows] Absolute File Path is silently ignored #108

Open
@pickypg

Description

@pickypg
input {
  file {
    path => [ "C:/path/to/file.txt" ]
  }
}

output {
  stdout { codec => rubydebug }
}

The input will silently fail and not read from the file even though the file exists. I tried multiple variations of it, such as c:\path\to\file.txt to no avail.

Workaround

Using something like Git Bash or Cygwin, you can better pipe the file into the pipeline:

cat /c/path/to/file.txt | bin/logstash.bat -f my.conf

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions