Skip to content

change default file_completed_action behavior in read mode #223

Open
@inqueue

Description

@inqueue

When in read mode, file_completed_action defaults to delete which means data can be lost. Can we please consider changing this default behavior? Requiring explicit configuration to delete processed files is much more preferable.

  • Version: 6.5.1
  • Config File:
input {
  file {
    path => [ "/var/log/some-log.json" ]
    codec => "json"
    mode => "read"
    sincedb_path => "/dev/null"
    file_completed_log_path => "/Users/jbryan/stack/support-help-issues/issues.log"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions