Skip to content

Resend the data from the beginning of a file with sincedb setting #159

Open
@SongJieCN

Description

@SongJieCN

Hi Guys,

  • Version: 5.0.1
  • Operating System: CentOS6.8
  • Config File (if you have sensitive info, please remove it):
    input {
    file {
    path => [
    "/opt/Logs/*",
    ]
    start_position => "beginning"
    sincedb_path => "/opt/tmp/.sincedb"
    }
    output{

}
} # END INPUT

  • Sample Data:
  • Steps to Reproduce:
    [1] We try to use the configuration to send our data within multi-files
    [2] After logstash be interrupted and we restart the logstash sending process
    [3] We found redundancy data in our receiver
    [4] After check the data, We guess the mechanism is resending from the beginning of file.
    Am i right? Or Some config mistakes here?

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions