Sumo Logic - Replace value with regex
<p>I'm parsing the <code>request_uri</code> from a log file:</p>
<pre><code>_sourceName=&quot;/opt/zazma/var/logs/AuditRequest.log&quot;
| parse &quot;method=*, statusCode=*, requestURI=*,&quot; as method, status_code, request_uri
| count by method, request_uri, status_code
| sort by request_uri
</code></pre>
<p>The URI includes IDs and email addresses. I want to replace all existing IDs with <code>'{Id}'</code> or <code>'*'</code>, and all existing emails with <code>'{email}'</code>, but Sumo's <code>REPLACE</code> function doesn't support regex.</p>
<p>Is there any other way to replace the <code>value</code> in the URI?</p>