Skip to content

File as input not working with alpine image #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sthuber90 opened this issue Feb 16, 2017 · 3 comments
Closed

File as input not working with alpine image #83

sthuber90 opened this issue Feb 16, 2017 · 3 comments

Comments

@sthuber90
Copy link

Using the alpine logstash image 5.2 from dockerhub and configuring the logstash input as follows:

file {
    path => [ "/path/to/log/**/*.log" ]
    type => "my_logtype"
}

Logstash fails with following error, when trying to use the specified file input

NotImplementedError: stat.st_dev unsupported or native support failed to load
dev_major at org/jruby/RubyFileStat.java:214
nix_inode at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.9.0/lib/filewatch/watch.rb:28
inode at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.9.0/lib/filewatch/watch.rb:32
inode at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.9.0/lib/filewatch/watch.rb:106
discover at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.9.0/lib/filewatch/watch.rb:268
_discover_file at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.9.0/lib/filewatch/watch.rb:313
each at org/jruby/RubyArray.java:1613
@impanda-cookie
Copy link

same issue #84 but logstash:latest work fine

@yosifkit
Copy link
Member

I believe both of these are fixed by #82 and should be pushed to the hub shortly by docker-library/official-images#2664.

@sthuber90
Copy link
Author

Thank you. Sounds good, so I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants