Splunk Search

How to omit leading zeros for all fields in a csv file coming from a Splunk forwarder?

bcusick
Communicator

Hi,

I'm trying to omit the leading zeros for all fields in a csv file that comes from a splunk forwarder. Is there any way to do this WITHOUT going through every single field in every single row?

My data looks like this:

QUANTITY
000040
000051
000149
000004

and I would like it to look like...

QUANTITY
40
51
149
4
Tags (5)
0 Karma

pradeepkumarg
Influencer
0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...