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!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...