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!

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...