Parse FQDN action

This action parses an FQDN field and copies the host and domain names to the specified fields .

  • FQDN field

    The field that contains the fully-qualified domain name.

  • Hostname output field

    Copy the hostname to this field.

  • Domain output field

    Copy the domain name to this field (optional)

Example

Your event sources populate the source field with the FQDN. You want your events to use the hostname for the source and store the domain name in a tag. You add a Parse FQDN action to your workflow and format it as follows:

  • FQDN field = Source

  • Short output field = Source

  • Domain output field = Tags

Event Before

EventAfter

{
  "source": "myHost.myApp.myDomain.com",
  ....
} 
{
  "source": "myHost",
  ....
  "tags": {
    "domain": "myApp.myDomain.commyNamespace",
  }
}