Skip to content

filter/clone/documentation optional option "clones" seems not to be optional #1

@jordansissel

Description

@jordansissel

(This issue was originally filed by @widhalmt at elastic/logstash#2141)


I treid the clone filter without giving the clones option and was hoping that it would create clones with the same type as the original event. But no clones were created.

clone {
  add_tag => [ "cloned", "icinga_alert" ]
}

Using the following clones are created.

clone {
  add_tag => [ "cloned", "icinga_alert" ]
  clones => [ "clone" ]
}

Maybe I misread the documentation because both configurations get through the configtestof logstash but since the first example doesn't do anything I would have liked at least a hint that it won't do anything.

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