Skip to content

sincedb_path handling #10

@pazoozooCH

Description

@pazoozooCH

I've noticed some problems with the sincedb handling for file parsing: By default, Logstash will try to store it's sincedb-file in the $HOME directory. In this image, this will be evaluated to /root, but Logstash runs as user logstash and will not have permissions to save in this folder.

Another problem is that the sincedb file will be lost if the container is removed (e.g. with a version update). Obviously, this can be solved using volume mounting or a data container. Maybe it would be possible to change the $HOME directory for the logstash user and declare it as a volume in the Dockerfile at the same time?

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