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!

Value Insights: Now Generally Available in the CMC

Organizations are under pressure to move faster, control cost, expand AI adoption, and prove value with more ...

What’s New in Splunk AI: Volume 02

Welcome to the second edition of “What’s New in Splunk AI” where we look at the latest and greatest updates, ...

Splunk App Dev Quarterly Roundup: AI, Agents, and Innovation!

Another quarter, another wave of innovation. From complex integrations to pushing the limits ...