Skip to content

'include functionality' for logstash config files #5097

@ris-ppum

Description

@ris-ppum

We are currently using a lot of different logstash config files for several sources, and keeping tracking of the configs in a modular manner is not easily possible. Are there any plans on adding some sort of 'include functionality' to logstash.

For example:

A.conf :

filter {
  .... # do stuff A
}

B.conf :

filter {
  .... # do stuff B
}

In the actual config file We would use something like:

run.conf :

input { ... }

include('B')
include('C')

output { ... }

We are currently using symlinks and whole directories as config source as a workaround, but running into different problems here.

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