Splunk Search

How to Extract fields with alphanumeric values?

inkedia
Explorer

 

 

 

 



I have to extract the highlighted value as a single field in splunk. Any help.

Labels (1)
0 Karma
1 Solution

venky1544
Builder

hi @inkedia 

try the below search 

your search  |rex field=_raw max_match=0 "(?<taskid>TASK\d+)"|table taskid

 

venky1544_0-1649864008740.png

if this help karma points are  appreciated /accept the solution it might help others 

View solution in original post

inkedia
Explorer

supper helpful... thanks

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Nothing is highlighted.  Please specify what you are trying to extract, how you've tried to extract it, and how those attempts failed to meet expectations.

---
If this reply helps you, Karma would be appreciated.
0 Karma

inkedia
Explorer

Sorry but my I wanted info as to how to extract the values starting with TASK...... they are the bolded stuff

0 Karma

venky1544
Builder

hi @inkedia 

try the below search 

your search  |rex field=_raw max_match=0 "(?<taskid>TASK\d+)"|table taskid

 

venky1544_0-1649864008740.png

if this help karma points are  appreciated /accept the solution it might help others 

Get Updates on the Splunk Community!

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...