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...

kamal singh bisht
Tags (2)
0 Karma
1 Solution

kml_uvce
Builder

use replace like

..|replace ssh with "22" in dest_port

kamal singh bisht

View solution in original post

0 Karma

kml_uvce
Builder

use replace like

..|replace ssh with "22" in dest_port

kamal singh bisht
0 Karma

kml_uvce
Builder

my csv file is
dest_port,value
ssh,22

and I am writing this csv file in search head

kamal singh bisht
0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...