Parse a URL
- UpdatedAug 3, 2023
- 2 minutes to read
- Vancouver
- Service Mapping
The Vancouver release is no longer supported. As such, the product documentation and release notes are provided for informational purposes only, and will not be updated.
As part of creating or modifying a discovery pattern, you can use the Parse URL operation to break down a URL to the component level.
Before you begin
Role required: pd_admin
Navigate to the relevant pattern step:
- Select the relevant pattern step or click
to add a step.
Basic knowledge of programming is desirable.
About this task
The URL parsing breaks a URL into the following components: protocol, hostname or IP, port, path and file.
Procedure
Example
To break an LDAP directory URL to components and save the results in a new table, use the Parse URL operation as follows:

What to do next
- Continue editing the pattern by adding a new step and defining its operation or
- Finalize the pattern.
cmdb-key-value
Discovery also collects cloud tags that are specific to each virtual machine (VM) and saves them to the Key Value [cmdb_key_value] table.