Network

Network transforms operate on network data.

network.domain.registered_domain

Parses the registered domain from a DNS domain. For example, brex.com from www.brex.com.

Settings

FieldTypeDescriptionRequired
object.source_keystringRetrieves a value from an object for transformation.No
object.target_keystringPlaces a value into an object after transformation.No

Example

sub.transform.network.domain.registered_domain(
  settings={object: {source_key: 'dns_domain', target_key: 'registered_domain'}}
)
sub.tf.net.domain.registered_domain({obj: {src: 'dns_domain', trg: 'registered_domain'}})

network.domain.subdomain

Parses the subdomain from a DNS domain. For example, www from www.brex.com.

Settings

FieldTypeDescriptionRequired
object.source_keystringRetrieves a value from an object for transformation.No
object.dst_keystringPlaces a value into an object after transformation.No

Example

sub.transform.network.domain.subdomain(
  settings={object: {source_key: 'dns_domain', target_key: 'subdomain'}}
)
sub.tf.net.domain.subdomain({obj: {src: 'dns_domain', trg: 'subdomain'}})

network.domain.top_level_domain

Parses the top-level domain (TLD) from a DNS domain. For example, com from www.brex.com.

Settings

FieldTypeDescriptionRequired
object.source_keystringRetrieves a value from an object for transformation.No
object.target_keystringPlaces a value into an object after transformation.No

Example

sub.transform.network.domain.top_level_domain(
  settings={object: {source_key: 'dns_domain', target_key: 'tld'}}
)
sub.tf.net.domain.tld({obj: {src: 'dns_domain', trg: 'tld'}})