Skip to content

Remove Field Processor

Refael Mizrahi edited this page Jan 23, 2022 · 5 revisions

Remove Field [removeField]

This processor allows you to delete a single field(path) or an array of multiple fields. It supports templates.

  • path - (dotted path, i.e: a.b.c)
  • fields - array of fields to remove, i.e. ["timestamp","message"]

Examples

{
  "steps": [
    {
      "removeField": {
        "config": {
          "path": "message"
        }
      }
    }
  ]
}
{
  "steps": [
    {
      "removeField": {
        "config": {
          "fields": [
            "full_timestamp",
            "timestamp"
          ]
        }
      }
    }
  ]
}
Clone this wiki locally