Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Port

Description

match

Outputs events enriched with a field containing the captured groups.

For named groups, a field with that name is added. For unnamed groups, and if the unnamed Field Prefix setting is set, fields starting with that prefix and growing numeric suffixes (starting at 1) are added.

fail

Signals when an error occurs and outputs input events, unmodified.

Example

In this example, we want to send a data string to be match against a given regular expression so that it can be inserted into a my.app table in Devo.

...

First, we will use a Tick unit to send the fields when clicked.

In the Fields tab of the properties, add the following:

...

Then, we will link it to a Regex unit to match the text against a regular expression, specified in the properties:

...

Finally, we will link its match output port to a Devo sink unit to send the formatted events to a my.app table.

Download this example

You can try this flow by downloading this JSON and uploading it to your domain using the Import option:

View file
nameRegex.json