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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...