Knowledge Management

need to omit certain characters in the field and display only the required string

kite94
Engager

Hello,

i am trying to display only the required strings, this is a description field, would like to omit and display the meaningful contents

Actual description

.UnknownEngineIDException:  parsing failed. Unknown engineId 80 00 00 09 03 10 05 CA 57 23 80 for address 1.5.6.3 . Dropping bind from /1.5.6.3.

Required description

engineId 80 00 00 09 03 10 05 CA 57 23 80 for address 1.5.6.3 

Labels (3)
Tags (3)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

There are a number of ways this might be done - here is one way

| rex mode=sed field=description "s/(^.*)(engineId.+for address \S+)(.*$)/\2/g"

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

There are a number of ways this might be done - here is one way

| rex mode=sed field=description "s/(^.*)(engineId.+for address \S+)(.*$)/\2/g"
0 Karma
Get Updates on the Splunk Community!

Unlock New Opportunities with Splunk Education: Explore Our Latest Courses!

At Splunk Education, we’re dedicated to providing top-tier learning experiences that cater to every skill ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...