Splunk Search

How to find values between two string

baljkastr
Engager

I have this event:

(pool-4-thread-1 18a68b34-f4af-4940-9339-6201b5004bb8) (********): do_SMSGW (Request) : &from=TULBUR&to=********&text=*******:+Tanii+********+gereenii+tulburiin+uldegdel+59706.42T+tulbur+tulugduugui+tul+buh+heregleeg+2022-08-28-nd+haahiig+anhaarna+uu.

(pool-4-thread-2 3adfc9d2-86e3-4e6e-8767-08f94370075a) (********): do_SMSGW (Request) : &from=TULBUR&to=********&text=*******:+Tanii+********+gereenii+tulburiin+uldegdel+9900T+tulbur+tulugduugui+tul+buh+heregleeg+2022-08-28-nd+haahiig+anhaarna+uu.


And I need to get value between +uldegdel+"needed value"+tulbur+

please help, im new to splunk 

Labels (1)
0 Karma
1 Solution

yuanliu
SplunkTrust
SplunkTrust

Something like

| rex "\+uldegdel\+(?<needed_value>[^+]+)\+tulbur\+"

View solution in original post

Tags (1)

yuanliu
SplunkTrust
SplunkTrust

Something like

| rex "\+uldegdel\+(?<needed_value>[^+]+)\+tulbur\+"
Tags (1)
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...