Splunk Search

how i can convert my field value

kml_uvce
Builder

I am getting this in output of the search
index=* host="216.167.15.70"
and getting dest_port field value as "ssh" , I want to convert this field value to 22,please help me on this...

Tags (2)
0 Karma
1 Solution

kml_uvce
Builder

use replace like

..|replace ssh with "22" in dest_port

View solution in original post

0 Karma

kml_uvce
Builder

use replace like

..|replace ssh with "22" in dest_port

0 Karma

kml_uvce
Builder

my csv file is
dest_port,value
ssh,22

and I am writing this csv file in search head

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...