Getting Data In

unable to retrieve string from a big string with special symbols. Any help?

indianhans
Engager

Hi Wish to retrieve hammadahmad from below string. Below string contain html tag ( & a p o s ; ) without space.

  • String = &a pos;hammadahmad&ap os; (service Active Directory)
  • Current Regular Expression : | rex "Session login, user(?P/<USER/>.*?)logging in from machine"

alt text

Any help will be appreciated.

0 Karma

sduff_splunk
Splunk Employee
Splunk Employee
rex field=USERNAME "&apos;(?<user>\S+)&apos;"
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...