Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 855 Bytes

drop-fields.md

File metadata and controls

49 lines (34 loc) · 855 Bytes

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.