Code Monkey home page Code Monkey logo

Comments (4)

pkubat avatar pkubat commented on August 17, 2024

I have seen this too. Lumberjack seems to miss events if the file does not exists and then its harvested. See my comments in the 5th post of issues #61.

from logstash-forwarder.

jordansissel avatar jordansissel commented on August 17, 2024

This is a bug. Will work on a fix.

from logstash-forwarder.

pkubat avatar pkubat commented on August 17, 2024

The issue is the way prospector.go handles unknown files and starts the harvester. There is currently no difference between:

  1. a file what was created while lumberjack was running thus its unknown and does not exist in .lumberjack,

  2. files that are unknown due to a missing .lumberjack file, the files exist, but lumber has not seem before.

In the first case you would always want to start at the beginning, but in the latter you may not. The current logic always starts at the end. Agree that a flag to start at the beginning could be a nice feature. In fact there is pull request for that, though is at a global level and not a file config item.

from logstash-forwarder.

jordansissel avatar jordansissel commented on August 17, 2024

This is fixed in master. Will appera in 0.4.0

from logstash-forwarder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.