Splunk Search

Field extraction

syedabuthahir
Explorer

Hi All,

I want to extract one particular filed under the description column but when i tried to extract the field i am getting the below error

"The extraction failed. If you are extracting multiple fields, try removing one or more fields. Start with extractions that are embedded within longer text strings."

 

i tried to extract through regex 

 

Defined","category":"Not Defined","resolution_time":"Not Defined","response_sla_exclusion":"","sla_contract":"Met","long_description":"Contact Number: 9967795614Type: Error/FailureWebsite/URL: https://xxxxxxProduct Name: Automatic Ticket AssignmentWorkstation/Cubicle/Bay: xxxxxDescription: Kindly check Health Status alertCountry/Location: xxxxVersion Number: NA","problem_abstract":"Kindly check Health Status alert"}

 

in the above i want to extract only the Product name field

 

Can someone help me on this 

Labels (1)
0 Karma
1 Solution

thambisetty
SplunkTrust
SplunkTrust

| rex "Product\sName\:\s+(?<ProductName>.*)Workstation"

————————————
If this helps, give a like below.

View solution in original post

thambisetty
SplunkTrust
SplunkTrust

| rex "Product\sName\:\s+(?<ProductName>.*)Workstation"

————————————
If this helps, give a like below.

isoutamo
SplunkTrust
SplunkTrust
Can you post full (json?) event or raw, so we could see from where this extractions should do? Also your current spl query could help us to point you to right direction.
r. Ismo
0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...