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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...