Support

Generic Functions

Remove

The Remove function removes a specific field.


Usage

  • Operates On: Field names
  • Supported Field Types: Any
  • Label: Optional
  • Filter: Optional

Required Configuration

  • Field Name: The path to the field name to remove.

Example #1

Remove the env field from the context map.

Configuration

  • Field Name: context.env

Before

{
  "environment": "staging",
  "context": {
    "env": "staging",
    "version": "0.0.1"
  }
}

After

{
  "environment": "staging",
  "context": {
    "version": "0.0.1"
  }
}

Example #2

Remove fields from an array by index.

Configuration

  • Field Name: series.tags[0:3]

Before

{
  "series": [
    {
      "tags": [
        "account:prod",
        "app:wordpress",
        "az:us-east-1e",
        "env:prod"
      ],
      "type": 2,
      "unit": "",
      "interval": 10,
      "metric": "system.swap.free",
      "points": [
        {
          "timestamp": 1685720550,
          "value": 0.000000
        }
      ]
    }
  ]
}

After

{
  "series": [
    {
      "tags": [
        "env:prod"
      ],
      "type": 2,
      "unit": "",
      "interval": 10,
      "metric": "system.swap.free",
      "points": [
        {
          "timestamp": 1685720550,
          "value": 0.000000
        }
      ]
    }
  ]
}
Previous
Parse