gsup - logzio/sawmill GitHub Wiki

The gsup can be used to replace or remove unwanted characters in the field that you are willing wo work with

Examples

message field: "ID-123-ABC" required outcome "ID123ABC"

{
    "steps": [
        {
            "gsub": {
                "config": {
                    "field": "message",
                    "pattern": "-",
                    "replacement": ""
                }
            }
        }
    ]
}