Knowledge Management

How to get FQDN from URL

dineshp
Explorer
0 Karma

ramdaspr
Contributor

Refer this

Simply put ((?[^:/?#]+):)?(//(?[^/?#]*))?(?[^?#|\s]*)(\?(?[^#|^\s]*))?(#(?.*[^\s]))?

cs_uri_authority is the one you are looking for.

0 Karma

miteshvohra
Contributor

Try this regular expression: (?!(http|https)(:\/\/))+([\w]+.){1}([\w]+.?)+

Will be happy to hear back if it worked or not.

  • Mitesh.
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

New Release of Federated Search: Bringing Splunk Analytics to More of Your Data

Organizations today are generating more data than ever and storing it across cloud object stores, data lakes, ...

Inside Event Intelligence: How ITSI Turns Network Alerts into Actionable Incidents

Tech Talk Inside Event Intelligence: How ITSI Turns Network Alerts into Actionable Incidents   Correlating ...

Observability Simplified: Combining User Experience, Application Performance & ...

  Tech Talk Network to App: Observability Unlocked   Today’s digital environments span applications, ...