splunk / eventgen

Splunk Event Generator: Eventgen
Apache License 2.0
380 stars 179 forks source link

Bug/issue245 #246

Closed technimad closed 5 years ago

technimad commented 5 years ago

The regex which matches the token replacement configuration tries to match a minus sign, followed by either a value without a dot (integer) or a value with a dot (float). This match fails, because the current regex only matches a value with or without a dot (int) which could be preceded by a minus sign or a value with a dot (float). This subtile difference makes that this functionality doesn't work.

Arbitrarily used lastMileRTT to test the functionality.

arctan5x commented 5 years ago

Hey thanks for contributing. For Splunk open source projects, we require contributors to fill out this form Contributor Agreement

technimad commented 5 years ago

Done. Filled out the form.