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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...