drop-fields

This agent drops fields of structured data.

Example

Given the input:

{
 "name": "value1", 
 "password": "value2"
}

With an agent configuration of:

- name: "Drop password"
  type: "drop-fields"
  input: "input-topic" # optional
  output: "output-topic" # optional
  configuration:
    fields: ["password"]

The output would be:

{
  "name": "value1"
}

Topics

Input

  • Structured only text ?

  • Implicit topic ?

Output

  • Structured text ?

  • Implicit topic ?

Configuration

Checkout the full configuration properties in the API Reference page.

Last updated