How do i replace the Hyphen with dot.
For example i have a field call IP and the value are 10-20-11-120 but i want to convert this to 10.20.11.120.
I have tried the | rex mode=sed but it's only replacing the first hyphen with dot. Please refer to my below SPL
SPL
| makeresults | eval IP="10-20-11-120"
| rex mode=sed field=IP "s/-/./"
| rex mode=sed field=IP "s/-/./g"
Make the SED operation repeat by using the 'g' flag.
| makeresults | eval IP="10-20-11-120"
| rex mode=sed field=IP "s/-/./g"