Remove Field Processor - logzio/sawmill GitHub Wiki
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"
]
}
}
}
]
}