Cannot get file input work properly on OSX

Hi,

I have been using Logstash for some time.
I am trying to run the following configuration on my OSX (Yosemite) laptop :

input {
  file {
    path => "<path_to_log_file>"
    start_position => "beginning"
  }
}

output {
  stdout {
    codec => dots
  }
}

Good to know :

  1. It does not work with logstash 2.3.0, but works well on 2.1.1
  2. When file gets appended, everything works as expected
  3. I run a rm -rf ~/.sincedb_* before running logstash

Any clues?

Could it be the file input's ignore_older option that's causing you this grief? IIRC that option was added in 2.2 so that would explain the difference you see between LS 2.1 and 2.3.

Wow, this is exactly it, thank you!
I was suspecting something like that, any place where I can find all release notes, by version?

I was suspecting something like that, any place where I can find all release notes, by version?

Hmm. Past Releases of Elastic Stack Software | Elastic lists all releases but doesn't contain links to the release notes of all Logstash releases, but you can use Release Notes | Logstash Reference [2.3] | Elastic so browse the release notes of major versions, but there's always the option of literally going straight to the source: https://github.com/elastic/logstash/blob/v2.3.1/CHANGELOG.md