Splunk Search

how to remove white space in the beginning of string value in field?

New Member

In my field value are unstructured, few of the strings having space at beginning. Do anyone help, how to eliminate those white space?

Tags (2)
0 Karma

eval field=ltrim(field)
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Admin Your Splunk Cloud, Your Way

Join us to maximize different techniques to best tune Splunk Cloud. In this Tech Enablement, you will get ...

Cloud Platform | Discontinuing support for TLS version 1.0 and 1.1

Overview Transport Layer Security (TLS) is a security communications protocol that lets two computers, ...

New Customer Testimonials

Enterprises of all sizes and across different industries are accelerating cloud adoption by migrating ...