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!

Simplifying the Analyst Experience with Finding-based Detections

    Splunk invites you to an engaging Tech Talk focused on streamlining security operations with ...

[Puzzles] Solve, Learn, Repeat: Word Search

This challenge was first posted on Slack #puzzles channelThis puzzle is based on a letter grid containing ...

[Puzzles] Solve, Learn, Repeat: Advent of Code - Day 4

Advent of CodeIn order to participate in these challenges, you will need to register with the Advent of Code ...