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 

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...