Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Parses an absolute URL string
and returns a dynamic
object contains URL parts.
Deprecated aliases: parseurl()
parse_url(
url)
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
url | string |
✔️ | An absolute URL, including its scheme, or the query part of the URL. For example, use the absolute https://bing.com instead of bing.com . |
An object of type dynamic that included the URL components: Scheme, Host, Port, Path, Username, Password, Query Parameters, Fragment.
print Result=parse_url("scheme://username:password@host:1234/this/is/a/path?k1=v1&k2=v2#fragment")
Output
Result |
---|
{"Scheme":"scheme", "Host":"host", "Port":"1234", "Path":"this/is/a/path", "Username":"username", "Password":"password", "Query Parameters":"{"k1":"v1", "k2":"v2"}", "Fragment":"fragment"} |