Hi,
i have uris like this -
/appliance/detail/v3.0/vendor/3423434erts/fridge
/appliance/detail/v3.0/vendor/6757dfs32/refrigerator/small
i want to replace the number part of uri (3423434erts or 6757dfs32) with XXX (static text) and keep rest of uri intact.
i tried the below and looks like some syntax error. Can someone help with this?
| rex field=uri mode=sed "s/(/appliance/detail/v3.0/vendor/[^/]+/(.*)$)/(/appliance/detail/v3.0/vendor/[^/]+/(.*)$)/XXX/g" | table uri
↧