I have field username - they show up as username=mike and in some cases username=mike. with a dot in the end. How do I remove the dot from end? This is messing my stats values(xyz) by username.
if you username hasn't spaces, you can try this:
| rex field=username "^(?<username>\w+)"
that you can test at https://regex101.com/r/mfLTm3/1
if instead you could have spaces in the username field, you could try this:
| rex field=username "^(?<username>.+)(\.|$)"
that you can test at https://regex101.com/r/mfLTm3/2