Skip to content

Common filter options are executed multiple times #70

@poulinjulien

Description

@poulinjulien
  • Version: 6.4.2
  • Operating System: RHEL
  • Config File:
input {
  generator {
    lines => [
      "1|2:3"
    ]
    count => 1
  }
}

filter {
  dissect {
    mapping => {
      "message" => "%{a}|%{b}"
      "b" => "%{c}:%{d}"
    }
    add_field => {"e" => "%{b}"}
  }
}

output {
  stdout {
    codec => rubydebug
  }
}
  • Expected output:
{
  "a": "1",
  "b": "2:3",
  "c": "2",
  "d": "3",
  "e": "2:3"
}
  • Actual output:
{
  "a": "1",
  "b": "2:3",
  "c": "2",
  "d": "3",
  "e": [
    "2:3",
    "2:3"
  ]
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions