Skip to main content
This information is for Chronosphere Telemetry Pipeline, which is a standalone product separate from Chronosphere Observability Platform.
The block keys processing rule removes any keys that match a specified regular expression, and then preserves all other keys in each record.

Configuration parameters

Use the parameters in this section to configure the . The Telemetry Pipeline web interface uses the items in the Name column to describe these parameters. Pipeline configuration files use the items in the Key column as YAML keys.

Examples

Using the block keys rule lets you pare down telemetry data by eliminating data you don’t want to keep.

Flat example

For example, given this sample log data:
A processing rule with the Regex value page_id returns the following result:
This rule removed the page_id key from each log and retained all other keys.

Nested example

You can also use the allow keys rule to selectively remove information within a nested object. For example, given this sample log data:
A processing rule with the Regex value vip and the Nested access pattern value user returns the following result:
This rule removed the vip key within the user object and retained all other keys within user. However, because the processing rule’s scope was limited to user, the rule didn’t affect the timestamp, page_id, or action fields. For a processing rule with the opposite effect, see allow keys.