Splunk Search

How to extract the following word from the sentence

aditsss
Motivator

Hi All,

I want to extract the following word from sentence:

nodeUrl=https://sappbos.aexp.com/odata.svc/v1.0/BlazeoData/UddsSappSupplierPymntAccpts?

nodeUrl=https://merchantcompass.aexp.com/odata.svc/v1.0/BlazeoData/MerchantCompassLookups

Can someone please guide me.

Labels (3)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| rex "https:\/\/(?<word>\w+)"

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust
| rex "https:\/\/(?<word>\w+)"

isoutamo
SplunkTrust
SplunkTrust

Excellent place to test and learn regex is https://regex101.com/r/3sM9jL/1

r. Ismo

Get Updates on the Splunk Community!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...