Splunk Search

How to rename a value in a table?

Edwin1471
Path Finder

Hi,

Is there a way to rename a specific value in the column of the table. 

For example:

Edwin1471_1-1661174382916.png

 

Labels (2)
0 Karma
1 Solution

somesoni2
Revered Legend

YOu can do something like this (if Process value is 0141, change it to 0512 else keep the original value)

| eval Process=if(Process="0141","0512",Process)

  

View solution in original post

somesoni2
Revered Legend

YOu can do something like this (if Process value is 0141, change it to 0512 else keep the original value)

| eval Process=if(Process="0141","0512",Process)

  

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...