Splunk Search

How to remove white spaces in field value?

hariniramesh
New Member

I am having an field name called "JOBNAME" which contains some jobname values and some empty values(which means there is no value in some of the rows). How to remove the empty values and show only values with jobname?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try ... | where isnotnull(JOBNAME) | ....

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Cultivate Your Career Growth with Fresh Splunk Training

Growth doesn’t just happen—it’s nurtured. Like tending a garden, developing your Splunk skills takes the right ...

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering.  Because we’ve ...

How to Send Splunk Observability Alerts to Webex teams in Minutes

As a Developer Evangelist at Splunk, my team and I are constantly tinkering with technology to explore its ...