Splunk Search

global replace of field values?

sf-mike
Splunk Employee
Splunk Employee

I have the value "N/A" that is applied to any field that doesn't have an entry. I need to change this to a numerical value in order to do my charting. How would I accomplish this? 'fillnull' would almost do it if it would accept the value (N/A) I'm looking for.

Thanks, Mike

Tags (3)
1 Solution

acdevlin
Communicator

EDIT: Better idea.

Use the Replace function to replace the string "N/A" with whatever numerical value you desire in whatever fields you want. Far more efficient than my original suggestion.

View solution in original post

acdevlin
Communicator

EDIT: Better idea.

Use the Replace function to replace the string "N/A" with whatever numerical value you desire in whatever fields you want. Far more efficient than my original suggestion.

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...