Splunk Search
Highlighted

Remove spaces in a field value

Explorer

Hi there,

I have a field A like A="x, y", but I want to remove the space to get A="x,y"
How can I do it ?

Thanks,

Maxime

Tags (4)
0 Karma
Highlighted

Re: Remove spaces in a field value

Legend
... | rex mode=sed field=A "s/ //g"

View solution in original post

Highlighted

Re: Remove spaces in a field value

Explorer

Thanks a lot.

0 Karma