Skip to content
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

Add experimental symlink support #2478

Merged
merged 1 commit into from
Sep 8, 2016
Merged

Add experimental symlink support #2478

merged 1 commit into from
Sep 8, 2016

Commits on Sep 8, 2016

  1. Add experimental symlink support

    This implementation of symlinks takes a symlink and opens the original file. The only difference is that as Source the symlink path is reported. The advantage of this implementation is that everything related to file handling is identical with non symlink files as the original file is harvested. All close_* options work as expected. State information is stored for the original file, not the symlink itself. In case a symlink and original file are harvested, only one will be harvested as they share the same inode information.
    
    * Add test to verify that symlinks are disabled by default
    * Add test for symlink handling
    * Improve error handling in harvester. Return proper error messages instead of logging it. Prevents too many log messages.
    * Remove IsRegular file call as not needed anymore and leads to additional Stat calls
    * Add documentation
    
    See elastic#2277 and elastic#1767
    ruflin committed Sep 8, 2016
    Configuration menu
    Copy the full SHA
    70ed5a3 View commit details
    Browse the repository at this point in the history