This agent drops fields of structured data.
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"
}
Checkout the full configuration properties in the API Reference page.