FQDN
Synopsis
Parses FQDNs (Fully Qualified Domain Names); that is URLs and hostnames to extract individual components like hostname, domain, domain type, and normalized FQDN using ASIM logic.
Schema
- fqdn:
description: <text>
field: <ident>
hostname_field: <ident>
domain_field: <ident>
domain_type_field: <ident>
fqdn_field: <ident>
if: <script>
ignore_failure: <boolean>
ignore_missing: <boolean>
on_failure: <processor[]>
on_success: <processor[]>
tag: <string>
Configuration
The following fields are used to define the processor:
Field | Required | Default | Description |
---|---|---|---|
field | Y | Field containing the hostname, FQDN, or URL to parse | |
hostname_field | N | {field}_hostname | Field to store the extracted hostname |
domain_field | N | {field}_domain | Field to store the extracted domain |
domain_type_field | N | {field}_domain_type | Field to store the domain type |
fqdn_field | N | {field}_fqdn | Field to store the normalized FQDN |
description | N | - | Explanatory notes |
if | N | - | Condition to run |
ignore_failure | N | false | See Handling Failures |
ignore_missing | N | false | Continue processing if the field is missing |
on_failure | N | - | See Handling Failures |
on_success | N | - | See Handling Success |
tag | N | - | Identifier |
Details
The processor analyzes hostname strings and extracts meaningful components based on ASIM (Azure Sentinel Information Model) logic. It supports multiple input formats:
- URLs: Full URLs with protocols (http://, https://) are parsed to extract the hostname component
- FQDNs: Domain names like
web01.example.com
are split into hostname and domain parts - Windows format: NetBIOS names like
DOMAIN\hostname
are recognized and parsed accordingly - Simple hostnames: Single names without domain components
The processor determines the domain type based on the input format:
- FQDN: For dot-separated domain names (e.g.,
server.company.com
) - Windows: For backslash-separated NetBIOS names (e.g.,
CONTOSO\WEB01
) - Empty: For simple hostnames without domain information
This processor follows ASIM hostname parsing standards, making it ideal for security analytics and network monitoring scenarios where consistent hostname normalization is required.
The processor automatically handles URL parsing and will extract hostnames from full URLs, stripping protocol, path, and query parameters to focus on the host component.
Use custom field names to organize extracted components according to your data model. The default field naming convention appends suffixes to the source field name for easy identification.
Examples
Basic FQDN Parsing
Parse a fully qualified domain name... |
|
into its components: |
|
URL Hostname Extraction
Extract hostname from URLs... |
|
with custom field names: |
|
Windows NetBIOS Format
Parse Windows domain\hostname format... |
|
recognizing the Windows format: |
|
Simple Hostname
Handle simple hostnames without domains... |
|
with empty domain information: |
|
Subdomain Parsing
Parse complex subdomains... |
|
extracting the service name and full domain: |
|
URL with Path and Parameters
URLs with paths and parameters... |
|
are parsed to extract only the hostname: |
|
IP Address Handling
IP addresses are treated as simple hostnames... |
|
without domain information: |
|
Mixed Case Handling
Mixed case URLs are handled correctly... |
|
preserving original hostname case: |
|
Empty and Invalid Input
Empty or invalid input... |
|
results in empty component fields: |
|